{"id":18321107,"url":"https://github.com/workos/elixir-sso-example","last_synced_at":"2025-04-09T14:30:38.035Z","repository":{"id":104513715,"uuid":"338144767","full_name":"workos/elixir-sso-example","owner":"workos","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-20T15:28:31.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-04-02T20:50:17.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-02-11T20:29:08.000Z","updated_at":"2022-01-16T21:03:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa060515-4c80-4ebb-bdf3-b354a65b0c50","html_url":"https://github.com/workos/elixir-sso-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Felixir-sso-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Felixir-sso-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Felixir-sso-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Felixir-sso-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workos","download_url":"https://codeload.github.com/workos/elixir-sso-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054986,"owners_count":21040104,"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":[],"created_at":"2024-11-05T18:18:21.265Z","updated_at":"2025-04-09T14:30:38.016Z","avatar_url":"https://github.com/workos.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elixir-sso-example\n\nAn example application demonstrating how SSO works with WorkOS and Elixir.\n\n## Clone and Install\n\nClone this repo and install dependencies:\n\n```sh\ngit clone https://github.com/workos-inc/elixir-sso-example.git \u0026\u0026 cd elixir-sso-example \u0026\u0026 mix deps.get\n```\n\n## Configure your environment\n\n1. Grab your [API Key](https://dashboard.workos.com/api-keys).\n2. Create an [SSO Connection](https://dashboard.workos.com/sso/connections).\n3. Configure a [Redirect URI](https://dashboard.workos.com/sso/configuration) to `http://localhost:4000`.\n4. Get your [Project ID](https://dashboard.workos.com/sso/configuration).\n5. Update `config/config.exs`:\n\n```typescript\nconfig :elixir_sso_example,\n  redirect_uri: \"http://localhost:4000\",\n  domain: \"$YOUR_DOMAIN\"\n\nconfig :workos,\n  client_id: \"$YOUR_CLIENT_ID\",\n  api_key: \"$YOUR_API_KEY\"\n\n```\n\n## Run the server and log in using SSO\n\n```sh\nmix phx.server\n# OR\niex -S mix phx.server\n```\n\nHead to [`http://localhost:4000/`](http://localhost:4000) and click log in.\n\nFor more information, see the [WorkOS Elixir SDK](https://github.com/workos-inc/workos-elixir).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Felixir-sso-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkos%2Felixir-sso-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Felixir-sso-example/lists"}