Skip to content

Commit 70087dc

Browse files
committed
Logging.
1 parent 4479a5a commit 70087dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oauth/src/main/java/ch/cyberduck/core/oauth/OAuth2AuthorizationService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public OAuthTokens save(final OAuthTokens tokens) throws LocalAccessDeniedExcept
169169
for(String claim : new String[]{"preferred_username", "email", "name", "nickname", "sub"}) {
170170
final String value = jwt.getClaim(claim).asString();
171171
if(StringUtils.isNotBlank(value)) {
172+
log.debug("Set username to {} from claim {}", value, claim);
172173
credentials.setUsername(value);
173174
break;
174175
}

0 commit comments

Comments
 (0)