4. Base Configuration

To set up connection between DNN and Auth0 you must accomplish configuration steps on both sides: “Auth0” and “DNN”.

  • On Auth0 website side, through the configuration panel an “Application” needs to be created. This “Application” will be acted as a bridge between Auth0 and DNN website.
  • On “DNN” side, inside “Auth0 Authentication” provider, Auth0 coordinates needs to be added.
  • On “DNN” side OWIN needs to be enabled.

4.1. Config steps at the Auth0 side

On the Auth0 website a “Regular Web Application” needs to be created. We will use OWIN technology.

_images/base-configuration-auth0-side_01.png

Then click “Settings” tab, see figure below for reference:

_images/base-configuration-auth0-side_02.png

Copy following settings: Domain, Client ID and Client Secret. There are necessary to configure provider on DNN side. See figure below for reference:

_images/base-configuration-auth0-side_03.png

For the “Allowed Callback URLs” set DNN login page URL. By default it’s look like: https://dnn801.test/login. Multiple addresses can be entered here. All URLs needs to use https protocol. See figure below for reference:

_images/base-configuration-auth0-side_04.png

See official Auth0 document for a reference.