deno.land / x / oauth4webapi@v1.2.2 / docs / functions / discoveryRequest.md

discoveryRequest.md

Function: discoveryRequest

💗 Help the project

â–¸ discoveryRequest(issuerIdentifier, options?): Promise<Response>

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

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

see RFC 8414 - OAuth 2.0 Authorization Server Metadata

see OpenID Connect Discovery 1.0

Parameters

Name Type Description
issuerIdentifier URL Issuer Identifier to resolve the well-known discovery URI for.
options? DiscoveryRequestOptions -

Returns

Promise<Response>

oauth4webapi

Version Info

Tagged at
2 years ago