Skip to content

Latest commit

 

History

History
65 lines (35 loc) · 1.25 KB

AuthorizationResponseError.md

File metadata and controls

65 lines (35 loc) · 1.25 KB

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