Function: discoveryRequest()
August 29, 2025 ยท View on GitHub
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.oauth2as defined by RFC 8414.
Parameters
| Parameter | Type | Description |
|---|---|---|
issuerIdentifier | URL | Issuer Identifier to resolve the well-known discovery URI for. |
options? | DiscoveryRequestOptions | - |
Returns
Resolves with a Response to then invoke processDiscoveryResponse with