Generic Auth (Rest)

Generic Auth (REST) allows authentication to be performed through your own REST API service. The window consists of three tabs: TOKEN, REFRESH TOKEN, and RESPONSE.

TOKEN tab

  • URL: The address to which the request to obtain a token will be sent.
  • URL Content Type: The data format of the request (e.g., application/json).
  • Expiration In Minutes: The token’s validity period (in minutes).
  • Parameters: Parameters to be sent with the request. Select where the parameter should be added from the dropdown menu on the left (e.g., Header), then fill in the key and value fields.

To add a new parameter, click the ADD PARAMETERS link and select one of the options: Custom, Username, or Password. To delete a parameter you’ve added, click the trash can icon next to it.

REFRESH TOKEN tab

This tab allows you to refresh the token when the session expires.

  • Token URL: The address to which the token refresh request will be sent.
  • Token URL Content Type: The data format of the refresh request.
  • Parameters: The parameters to be sent with the refresh request. You can add Custom, Token, or Refresh Token parameters by clicking the ADD PARAMETERS link.

RESPONSE tab

On this tab, you map the fields in the response returned by your service to their corresponding fields in Kuika:

  • Access Token (required): The access token field in the response.
  • User Name (required): The username field in the response.
  • First Name: The first name field in the response.
  • Last Name: The last name field in the response.
  • Refresh Token: The refresh token field in the response.

After entering the information, click the CREATE button to create the provider.

4. Save the Settings

  • Select the provider you created from the Authentication provider dropdown menu.
  • Make sure you’ve filled out all required fields completely and correctly.
  • Click the SAVE button in the top-right corner to save your changes.