{"id":25789073,"url":"https://github.com/tomcyr/workos-go-authkit-example","last_synced_at":"2026-06-03T23:31:21.914Z","repository":{"id":279589023,"uuid":"930980785","full_name":"tomcyr/workos-go-authkit-example","owner":"tomcyr","description":"GO WORKOS integration example using AuthKit and Fiber","archived":false,"fork":false,"pushed_at":"2025-02-26T10:32:21.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T11:33:52.499Z","etag":null,"topics":["authentication","authorization","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomcyr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-11T14:29:29.000Z","updated_at":"2025-02-26T11:29:48.000Z","dependencies_parsed_at":"2025-02-26T11:44:23.698Z","dependency_job_id":null,"html_url":"https://github.com/tomcyr/workos-go-authkit-example","commit_stats":null,"previous_names":["tomcyr/workos-go-authkit-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcyr%2Fworkos-go-authkit-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcyr%2Fworkos-go-authkit-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcyr%2Fworkos-go-authkit-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcyr%2Fworkos-go-authkit-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomcyr","download_url":"https://codeload.github.com/tomcyr/workos-go-authkit-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241006755,"owners_count":19892943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","go","golang"],"created_at":"2025-02-27T11:18:29.782Z","updated_at":"2026-06-03T23:31:21.885Z","avatar_url":"https://github.com/tomcyr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GO WORKOS integration example using AuthKit and Fiber\nAn example application demonstrating how to authenticate users with AuthKit (https://workos.com) and the WorkOS GO SDK.\n\n\u003e Refer to the [User Management](https://workos.com/docs/user-management) documentation for reference.\n\n## Prerequisites\n\nYou will need a [WorkOS account](https://dashboard.workos.com/signup).\n\n## Requirements\n\nGO 1.23 (tested)\n\n## Running the example\n\n1. In the [WorkOS dashboard](https://dashboard.workos.com), head to the Redirects tab and create a [sign-in callback redirect](https://workos.com/docs/user-management/1-configure-your-project/configure-a-redirect-uri) for `http://localhost:8080/auth/callback`.\n\n2. After creating the redirect URI, navigate to the API keys tab and copy the _Client ID_ and the _Secret Key_. Rename the `.env.example` file to `.env` and supply your Client ID and API key as environment variables.\n\n3. Verify your `.env` file has the following variables filled.\n\n   ```bash\n   WORKOS_CLIENT_ID=\u003cYOUR_CLIENT_ID\u003e\n   WORKOS_API_KEY=\u003cYOUR_API_SECRET_KEY\u003e\n   WORKOS_AUTHKIT_URL=\u003cYOUR_AUTHKIT_URL\u003e\n   ```\n\n4. Install the dependencies\n\n   ```bash\n   go get ./...\n   ```\n\n5. Run the following command and navigate to [http://localhost:8080](http://localhost:8080).\n\n   ```bash\n   go run cmd/web/main.go\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcyr%2Fworkos-go-authkit-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomcyr%2Fworkos-go-authkit-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcyr%2Fworkos-go-authkit-example/lists"}