Skip to content

Creating API in Auth0 portal

Oleg Burov edited this page May 11, 2018 · 6 revisions

An Auth0 API will represent the Web API (green box) and allow use of Auth0 for accepting and responding to protected resource requests made by applications.

Auth0 and Web App

Step 1: Create Auth0 API

To create Auth0 API, log in to Auth0 Dashboard at the URL https://manage.auth0.com/. Then go to the section APIs at the right menu. Click the button + Create API.

Create Auth0 App

After a new application is created, switch to the tab Scopes.

Step 2: Add Scopes

In the tab Scopes, add the following scopes for Web API, which will behave as access rights for different actions.

Name Description
read:repositories View existent repositories.
create:repositories Create new repositories.
update:repositories Edit existent repositories.
delete:repositories Delete existent repositories.

Create Auth0 App

After scopes are created, switch to the tab Settings.

Step 3: Copy Identifier

In the tab Settings, copy and save value of the field Identifier. You will need it for the next step.

  • Identifier: https://onegit-webapi.azurewebsites.net/api/

Domain, Client ID and Client Secret

What's next?

Setting up ASP.NET Core WebApi

Clone this wiki locally