mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
⚡ 优化 数据库链接失败导致登录提示clientId 错误
This commit is contained in:
parent
7644611c0c
commit
ae5c5653a8
@ -88,7 +88,7 @@ public class PigRemoteRegisteredClientRepository implements RegisteredClientRepo
|
||||
|
||||
SysOauthClientDetails clientDetails = RetOps
|
||||
.of(clientDetailsService.getClientDetailsById(clientId, SecurityConstants.FROM_IN)).getData()
|
||||
.orElseThrow(() -> new OAuthClientException("clientId 不合法"));
|
||||
.orElseThrow(() -> new OAuthClientException("客户端查询异常,请检查数据库链接"));
|
||||
|
||||
RegisteredClient.Builder builder = RegisteredClient.withId(clientDetails.getClientId())
|
||||
.clientId(clientDetails.getClientId())
|
||||
|
Loading…
Reference in New Issue
Block a user