Steps:
- Add your client ID and domain in both index.html and silent-callback.html
- Add
http://localhost:3000
andhttp://localhost:3000/silent-callback.html
to the Allowed Callback URLs in Auth0 - Add
http://localhost:3000
to the Allowed Logout URLs in Auth0 - Configure an identity provider with a client ID and client secret in Auth0 (otherwise you will always get
login_required
) - Start an HTTP server on port
3000
(see below) - Login with the identity provider configured in step 4
Easy way to start an HTTP server:
npm i -g http-server
http-server -p 3000