ZITADEL Docs
APIsCore ResourcesV2OIDC

GetAuthRequest

Get Auth Request

Get OIDC Auth Request details by ID, obtained from the redirect URL. Returns details that are parsed from the application's Auth Request.

Required permissions:

  • session.read
GET
/v2/oidc/auth_requests/{auth_request_id}

Path Parameters

auth_request_id*string

The ID of the Auth Request, as obtained from the redirect URL.

Response Body

application/json

application/json

curl -X GET "https://loading/v2/oidc/auth_requests/string"
{
  "authRequest": {
    "id": "string",
    "creationDate": "1s",
    "clientId": "string",
    "scope": [
      "string"
    ],
    "redirectUri": "string",
    "prompt": [
      "PROMPT_UNSPECIFIED"
    ],
    "uiLocales": [
      "string"
    ],
    "loginHint": "string",
    "maxAge": "string",
    "hintUserId": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?