auth

Handle OIDC authorization callback

Changed on

Exchanges the OIDC authorization code for user information, mints the internal JWT cookie, and redirects to the provided post-login URL or a configured default one.

get/v1/auth/oidc/callback

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

codestring
Example:SplxlOBeZQQYbYS6WxSbIA

Authorization code returned by the OIDC provider

statestring
Example:af0ifjsldkj

State parameter returned by the OIDC provider

errorstring
Example:access_denied

Error parameter returned by the OIDC provider

error_descriptionstring
Example:The user has denied the request

Description of the error returned by the OIDC provider (if failed)

Changes