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.
Parameter | Type | Description |
---|---|---|
expectedIssuerIdentifier |
URL |
Expected Issuer Identifier value. |
response |
Response |
Resolved value from discoveryRequest. |
Resolves with the discovered Authorization Server Metadata.