Skip to main content
Module

x/oauth4webapi/mod.ts>processDiscoveryResponse

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function processDiscoveryResponse
import { processDiscoveryResponse } from "https://deno.land/x/oauth4webapi@v2.0.6/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.