Oauth 2.0

Applications that use the OAuth 2.0. To generate the auth token you will require: 

Access Token UR, ClientID, Client Secret Tenant ID and Call back URL.

This can be obtained from the admin panel of auth service provider. 

Steps to Generate an OAuth 2.0 Access Token:

Collect Required Information:

Before starting, gather the following details from the admin panel of your OAuth service provider:

  1. Access Token URL
  2. Client ID
  3. Client Secret
  4. Tenant ID (only for Authorization Code grant type)
  5. Callback URL (only for Authorization Code grant type)
  6. Endpoint (only for Authorization Code grant type)
  7. Auth URL (only for Authorization Code grant type)

Configure Token Generation:

  1. Grant Type: Choose the grant type as either Authorization Code or Password Credentials.
  2. Client Authentication: Select how client credentials should be sent—either:
  3. As a Basic Auth header, or
  4. In the request body.

Enter Configuration Details:

  1. Title: Provide a name for the configuration.
  2. Callback URL: Enter the callback URL (e.g., https://your-application.com/registered/callback-url).
  3. Auth URL: Enter the authorization URL (e.g., https://example.com/login/oauth/authorize).
  4. Access Token URL: Enter the access token URL (e.g., https://example.com/login/oauth/access_token).
  5. Tenant ID: Enter the tenant ID if you're using the Authorization Code grant type.
  6. Client ID: Enter your client ID.
  7. Client Secret: Enter your client secret.

Generate the Token:

  1. Click on the Get New Access Token button.
  2. A pop-up will appear asking for additional details.


Specify Role:

  1. In the pop-up, provide the Role (e.g., admin, customer, end-user).

Save the Token:

  1. Click Save. The token will be stored and displayed in the Access Control Configuration table.

User can also add the auth token manually, follow these steps: 

  1. Click the +Add Row button to insert a new blank row. 
  2. In this row, specify the role associated with the token, such as "admin" or "customer." 
  3. Enter the corresponding token in the appropriate field. Press the Enter key to save the token. The system will confirm that the token has been saved successfully.
Discard
Save

On this page