Function: validateJwtAuthResponse()
August 29, 2025 ยท View on GitHub
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.
โธ validateJwtAuthResponse(as, client, parameters, expectedState?, options?): Promise<URLSearchParams>
Same as validateAuthResponse but for signed JARM responses.
Parameters
| Parameter | Type | Description |
|---|---|---|
as | AuthorizationServer | Authorization Server Metadata. |
client | Client | Client Metadata. |
parameters | URLSearchParams | URL | JARM authorization response. |
expectedState? | string | typeof expectNoState | typeof skipStateCheck | Expected state parameter value. Default is expectNoState. |
options? | ValidateSignatureOptions & JWEDecryptOptions | - |
Returns
Validated Authorization Response parameters. Authorization Error Responses are rejected using AuthorizationResponseError.
See
JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)