Generic Auth (REST) is a REST API based authentication system.
Adding a Generic Auth (REST) Provider
- Open the Configuration Manager module.
- Create a new configuration or select an existing configuration.
- Go to the Authentication & Authorization tab.
- Click ADD NEW from the drop-down menu under the Authentication Provider heading.
- Select the Generic Auth (REST) option.
- Enter the required information:
- Name: Specify the name of the provider.
- REST API URL: Enter the URL to be used for token retrieval. You can access Swagger or Rest API documentation to learn more.
- Content Type: Select the data format (for example: application/json).
- Expiration in Minutes: Enter the validity period of the token in minutes (default: 30 minutes).
- Extra Parameters: Add parameters via Header, Query or Body.
- Response Mapping: Define the following fields to map the JSON response:
- Access Token
- User Name
- First Name
- Last Name
- Refresh Token
Create the provider by clicking the CREATE button.