Files
openid-client/docs/classes/AuthorizationResponseError.md
2026-03-19 15:31:16 +01:00

1.2 KiB

Class: AuthorizationResponseError

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


Thrown when OAuth 2.0 Authorization Error Response is encountered.

Example

HTTP/1.1 302 Found
Location: https://client.example.com/cb?error=access_denied&state=xyz

Properties

cause

• cause: URLSearchParams

Authorization Response parameters as URLSearchParams


code

• code: "OAUTH_AUTHORIZATION_RESPONSE_ERROR"


error

• error: string

Error code given in the Authorization Response


message

• message: string


name

• name: string


error_description?

• optional error_description?: string

Human-readable text providing additional information, used to assist the developer in understanding the error that occurred, given in the Authorization Response


stack?

• optional stack?: string