优化代码

pull/81/MERGE
awenes 2024-07-31 17:55:01 +08:00
parent c83db58b59
commit 2134ae3d79
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ public final class OAuth2RefreshTokenAuthenticationProvider implements Authentic
// @formatter:off
tokenContext = tokenContextBuilder
.tokenType(ID_TOKEN_TOKEN_TYPE)
.authorization(authorizationBuilder.build()) // ID token customizer may need access to the access token and/or refresh token
// ID token customizer may need access to the access token and/or refresh token
.authorization(authorizationBuilder.build())
.build();
// @formatter:on
OAuth2Token generatedIdToken = this.tokenGenerator.generate(tokenContext);