https://github.com/rochdev/auth0-nonce-bug
Auth0 nonce bug example
https://github.com/rochdev/auth0-nonce-bug
Last synced: 3 months ago
JSON representation
Auth0 nonce bug example
- Host: GitHub
- URL: https://github.com/rochdev/auth0-nonce-bug
- Owner: rochdev
- Created: 2017-05-10T11:36:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T11:37:18.000Z (about 9 years ago)
- Last Synced: 2025-01-01T07:44:51.895Z (over 1 year ago)
- Language: HTML
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auth0 nonce bug
Steps:
1. Add your client ID and domain in both index.html and silent-callback.html
2. Add `http://localhost:3000` and `http://localhost:3000/silent-callback.html` to the Allowed Callback URLs in Auth0
3. Add `http://localhost:3000` to the Allowed Logout URLs in Auth0
4. Configure an identity provider with a client ID and client secret in Auth0 (otherwise you will always get `login_required`)
5. Start an HTTP server on port `3000` (see below)
6. Login with the identity provider configured in step 4
Easy way to start an HTTP server:
```js
npm i -g http-server
http-server -p 3000
```