Begin SSO authentication flow
Initiates the OpenID Connect authentication flow by redirecting to the authorization server.
This endpoint begins the standard OpenID Connect authentication flow:
- The client calls this endpoint with a callback path
- The server responds with a redirect to the identity provider
- The user authenticates with the identity provider
- The identity provider redirects back to the callback endpoint
- The client can then exchange the authorization code for an access token
Usage Example
Request
This endpoint expects an object.
database
Target database name (defaults to system if not specified)
sso_callback_path
Local path to redirect to after successful authentication. This path should be registered with your OpenID provider as a valid redirect URI.
do_redirect
Whether to issue the redirect to the authentication server immediately.
- If true (default), the API will respond with a 302 redirect to the OpenID provider
- If false, the API will return the URL in the response body, allowing the client to handle the redirect manually
If SSO is not configured for the database, an error will occur if do_redirect is true, or an empty redirect will be returned if do_redirect is false.
Errors
401
Unauthorized Error
404
Not Found Error

