typo
This commit is contained in:
parent
1755c75647
commit
b57d40ed09
|
@ -363,7 +363,7 @@ export class OAuth2ProviderService {
|
|||
// Find client information from the remote.
|
||||
const clientInfo = await discoverClientInformation(this.httpRequestService, clientUrl.href);
|
||||
|
||||
// Requires an explicit list of redirect_uris per
|
||||
// Require an explicit list of redirect_uris per
|
||||
// https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics#section-4.1.3
|
||||
if (!clientInfo.redirectUris.includes(redirectURI)) {
|
||||
throw new AuthorizationError('Invalid redirect_uri', 'invalid_request');
|
||||
|
|
Loading…
Reference in a new issue