-
Notifications
You must be signed in to change notification settings - Fork 35
Authentication
Jonas Snellinckx edited this page Apr 19, 2018
·
2 revisions
- Create new tenant on auth0
- Create new "Machine 2 Machine" application
- Setup "Allowed Callback URLs" for this application to the url of your server
- Goto the API tab Allow the application to the "Machine to Machine Applications"
Include following env variables:
- AUTH0_CLIENT_ID=<client_id_from_auth0_application>
- AUTH0_DOMAIN=<domain_from_auth0>
- AUTH0_CLIENT_SECRET=<secret_from_auth0_application>
- AUTH0_AUDIENCE=<url_to_configured_auth0_api> (e.g. https://something.eu.auth0.com/api/v2/)