Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>validateJwtAuthResponse

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function validateJwtAuthResponse
import { validateJwtAuthResponse } from "https://deno.land/x/oauth4webapi@v2.8.0/mod.ts";

Same as validateAuthResponse but for signed JARM responses.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

parameters: URLSearchParams | URL

JARM authorization response.

optional
expectedState: string | expectNoState | skipStateCheck

Expected state parameter value. Default is expectNoState.

optional
options: HttpRequestOptions

Returns

Validated Authorization Response parameters or Authorization Error Response.