Skip to content

Latest commit

 

History

History

other_oauth_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Using Auth0 as your OAuth 2 Server

Configuration and Setup

  1. Create an Auth0 account.
  2. You will need to create at least one user so visit User Management > Users
  3. Select Create User then specify your email address and a password and save. Keep this password for later.

Setup for Authorization Code Flow

Within the Auth0 Dashboard:

  1. Select Applications > Applications and choose the Default App
  2. Select Settings for the values to use in most of this course
  3. On the Settings tab, find the Allowed Callback URLs section and add https://127.0.0.1
  4. Scroll to the bottom to Save Changes

Setup for Authorization Code with PKCE

Within the Auth0 Dashboard:

  1. Select Applications > Applications and choose the Default App
  2. On the Settings tab, change the Application Type to "Single Page Application"
  3. Also on the Settings tab, add http://localhost:3000 to the Allowed Callback URLs, Allowed Logout URLs, and Allowed Web Origins. If you already have entries in any of those, you will have to use commas to separate them.
  4. Scroll to the bottom to Save Changes

Setup for Client Credential Flow

Within the Auth0 Dashboard:

  1. Select Applications > APIs and choose Create API
  2. Give the API a Name and set an Identifier and save. I chose linkedin-learning-api
  3. On the Machine to Machine Applications tab, scroll down to the available clients
  4. Select the available client