{"id":18321092,"url":"https://github.com/workos/workos-demo","last_synced_at":"2025-06-16T04:40:38.721Z","repository":{"id":38300606,"uuid":"241904752","full_name":"workos/workos-demo","owner":"workos","description":"A demo app to demonstrate how to use the WorkOS Admin Portal to configure SSO","archived":false,"fork":false,"pushed_at":"2025-05-08T22:07:48.000Z","size":1917,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-06-03T23:28:37.980Z","etag":null,"topics":["adfs","azure-active-directory","gsuite-saml-apps","okta","onelogin","saml","service-provider","single-sign-on","sso","sso-authentication"],"latest_commit_sha":null,"homepage":"http://demo.workos.com","language":"HTML","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/workos.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,"zenodo":null}},"created_at":"2020-02-20T14:26:55.000Z","updated_at":"2025-03-26T22:12:28.000Z","dependencies_parsed_at":"2024-02-29T23:29:12.145Z","dependency_job_id":"6fa30269-03b6-4920-8e14-4a865d5b3e7a","html_url":"https://github.com/workos/workos-demo","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%2Fworkos-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workos","download_url":"https://codeload.github.com/workos/workos-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Fworkos-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259034340,"owners_count":22795797,"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":["adfs","azure-active-directory","gsuite-saml-apps","okta","onelogin","saml","service-provider","single-sign-on","sso","sso-authentication"],"created_at":"2024-11-05T18:18:19.828Z","updated_at":"2025-06-16T04:40:38.699Z","avatar_url":"https://github.com/workos.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WorkOS Admin Portal Demo\n\nAn example Sinatra app demonstrating how onboarding an enterprise may work utilizing the Admin Portal.\n\n### Installation\n\nTo utilize the Admin Portal you'll first need to create an Organization for the enterprise.\n\n```ruby\nrequire 'workos'\n\nWorkOS.key = 'YOUR_SECRET_KEY'\n\norganization = WorkOS::Portal.create_organization(\n  domains: [\"enterprise.com\"],\n  name: 'Enterprise',\n)\n```\n\nYou can now use the created Organization to generate a secure URL for the enterprise to access the Admin Portal.\n\n```ruby\nportal_link = WorkOS::Portal.generate_link(\n  intent: 'sso',\n  organization: organization.id\n)\n\nredirect portal_link\n```\n\n### Try it Yourself\n\nReady to test out the Admin Portal for yourself? Go ahead and deploy a version of this Demo App to Heroku. You'll need your Project ID, Publishable Key and Secret Key from the WorkOS Dashboard.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nIn order to test SSO sign-ons for Identity Providers configured through the Admin Portal, you'll need an account with an IdP. Get in touch with WorkOS, we're happy to provision you an account in our `foo-corp.com` Okta instance, and can walk through a full implentation with you.\n\n[![Book Time](./book-time.png)](https://calendly.com/workos-scheduling/demo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fworkos-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkos%2Fworkos-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Fworkos-demo/lists"}