Function: processDiscoveryResponse()
April 4, 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.
โธ processDiscoveryResponse(expectedIssuerIdentifier, response): Promise<AuthorizationServer>
Validates Response instance to be one coming from the authorization server's well-known discovery endpoint.
Parameters
| Parameter | Type | Description |
|---|---|---|
expectedIssuerIdentifier | URL | Expected Issuer Identifier value. |
response | Response | Resolved value from discoveryRequest. |
Returns
Resolves with the discovered Authorization Server Metadata.