Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
* used in the OAuth 2.0 Device Authorization Grant.
*
* @author Steve Riesenberg
* @author Andrey Litvitski
* @since 7.0
* @see OAuth2DeviceAuthorizationConsentAuthenticationToken
* @see OAuth2AuthorizationConsent
Expand Down Expand Up @@ -200,7 +201,7 @@ public Authentication authenticate(Authentication authentication) throws Authent
if (this.logger.isTraceEnabled()) {
this.logger.trace("Invalidated device code and user code because authorization consent was denied");
}
throw createException(OAuth2ErrorCodes.ACCESS_DENIED, OAuth2ParameterNames.CLIENT_ID);
throw createException(OAuth2ErrorCodes.ACCESS_DENIED, OAuth2ParameterNames.SCOPE);
}

OAuth2AuthorizationConsent authorizationConsent = authorizationConsentBuilder.build();
Expand Down
Loading