Skip to content

Commit

Permalink
feat: 支持PKCE模式OAuth认证 #1124
Browse files Browse the repository at this point in the history
  • Loading branch information
yaoxuwan committed Sep 12, 2023
1 parent 1d869df commit 192b6b6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ class OauthAuthorizationServiceImpl(
with(generateTokenRequest) {
Preconditions.checkNotNull(clientId, this::clientId.name)
Preconditions.checkNotNull(refreshToken, this::refreshToken.name)
checkClientSecret(clientId!!, clientSecret, null, null)
val token = oauthTokenRepository.findFirstByAccountIdAndRefreshToken(clientId!!, refreshToken!!)
?: throw ErrorCodeException(CommonMessageCode.RESOURCE_NOT_FOUND, refreshToken!!)
val idToken = generateOpenIdToken(
Expand Down

0 comments on commit 192b6b6

Please sign in to comment.