mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +00:00
1.2 KiB
1.2 KiB
Class: AuthorizationResponseError
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