Skip to main content
Module

x/oauth4webapi/mod.ts>discoveryRequest

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

Performs an authorization server metadata discovery using one of two DiscoveryRequestOptions.algorithm | transformation algorithms applied to the issuerIdentifier argument.

  • oidc (default) as defined by OpenID Connect Discovery 1.0.
  • oauth2 as defined by RFC 8414.

Parameters

issuerIdentifier: URL

Issuer Identifier to resolve the well-known discovery URI for.

optional
options: DiscoveryRequestOptions