Skip to content

Authentication

Jonas Snellinckx edited this page Apr 19, 2018 · 2 revisions

Auth0

Configuration

  1. Create new tenant on auth0
  2. Create new "Machine 2 Machine" application
  3. Setup "Allowed Callback URLs" for this application to the url of your server
  4. 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/)

Other

Clone this wiki locally