Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.68 KB

File metadata and controls

34 lines (21 loc) · 1.68 KB

Function: discoveryRequest()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


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.

Parameters

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

Returns

Promise<Response>

Resolves with a Response to then invoke processDiscoveryResponse with

See