OpenID Authentication#
To create a User with the login method "OpenID Authentication," you need to check the "Use OpenID authentication" checkbox and then fill in the "oAuth id" field.
.png)
To enable OpenID, set the parameters in the Sherpa AI Server installation .env file:
O_AUTH_CLIENT_ID="clientId"
O_AUTH_CLIENT_SECRET="clientSecret"
O_AUTH_AUTH_URI="https://OpenID.url/authorize"
O_AUTH_TOKEN_URI="https://OpenID.url/token"
O_AUTH_USER_INFO_URI="https://OpenID.url/info"
# Optional user identifier field:
O_AUTH_USER_LINK_FIELD="id"
After changing .env, recreate the application container with docker compose up -d --force-recreate aiserver. The token request includes the redirect_uri parameter.
If you need to enter the callback URL manually, use:
https://yourDomainURL/api/v1/system/oauth_callback
You also need to fill in the fields:
| Interface Element | Description |
| Email* | User's email address. |
| First Name | User's first name. |
| Last Name | User's last name. |
| Department | The division or department to which the User belongs. |
| Role | User's role in the system. Defines available sections and actions. |
| User is blocked | Allows blocking the User's account. A blocked User will not be able to log in. |
| Notify about license expiration via email | Enables sending notifications to the User's email when the license expiration date approaches. |