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

x/oauth4webapi/src/index.ts>processDiscoveryResponse

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

Validates Response instance to be one coming from the authorization server's well-known discovery endpoint.

Parameters

expectedIssuerIdentifier: URL

Expected Issuer Identifier value.

response: Response

Resolved value from discoveryRequest.

Returns

Resolves with the discovered Authorization Server Metadata.