Function: processDiscoveryResponse()

April 4, 2025 ยท View on GitHub

๐Ÿ’— 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.


โ–ธ processDiscoveryResponse(expectedIssuerIdentifier, response): Promise<AuthorizationServer>

Validates Response instance to be one coming from the authorization server's well-known discovery endpoint.

Parameters

ParameterTypeDescription
expectedIssuerIdentifierURLExpected Issuer Identifier value.
responseResponseResolved value from discoveryRequest.

Returns

Promise<AuthorizationServer>

Resolves with the discovered Authorization Server Metadata.

See