Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/mod.ts>processDiscoveryResponse

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function processDiscoveryResponse
import { processDiscoveryResponse } from "https://deno.land/x/oauth4webapi@v2.17.0/mod.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.