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

x/oauth4webapi/mod.ts>discoveryRequest

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