Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onero/auth0-sso-issue-demo
Project created with the intent of displaying a issue with Auth0 SSO for multiple users concurrently
https://github.com/onero/auth0-sso-issue-demo
auth0 issues multi-user sso-authentication
Last synced: 17 days ago
JSON representation
Project created with the intent of displaying a issue with Auth0 SSO for multiple users concurrently
- Host: GitHub
- URL: https://github.com/onero/auth0-sso-issue-demo
- Owner: onero
- License: mit
- Created: 2018-09-07T04:53:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-07T05:19:54.000Z (over 6 years ago)
- Last Synced: 2024-11-14T13:37:31.452Z (3 months ago)
- Topics: auth0, issues, multi-user, sso-authentication
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth0 SSO Issue Demo
## This project was created with the intent of displaying a issue with Auth0 SSO for multiple users concurrently
### Setup:
1. Go to https://manage.auth0.com/#/clients and create two single-page application clients.
2. Add `http://localhost:5000` as allowed callback URLs and as a Web Origin for both.
3. Create two databases at `https://manage.auth0.com/#/connections/database`
4. When creating new users for your app at `https://manage.auth0.com/#/users`, make sure to make one in each DB!
5. Enter your Auth0 domain and client IDs in the [`auth0-variables.js`](/auth0-variables.js) file.To start the sample, start a web server in the root of this repository at port 5000, or just run:
```sh
npm install -g serve
serve
```and then browse to [http://localhost:5000](http://localhost:5000).
### How to demo
- For user 1, click "Click here to attempt an SSO login" to attempt connection
- Then click "Click here to attempt to parse hash 1"
- Login with user 1 for first SPA
- Attempt to renew user 1, which should be possible with issues
- Now carry out same procedure for user two
- When trying to renew user 1, after user 2, you will get the Auth0 error "login_required"
Credits to inspiration for this project goes to https://github.com/auth0-samples/oidc-sso-sample