🐛 Fixing a bug. 授权码登录时 requireProofKey 设置为false
This commit is contained in:
1 parent
997b926611
commit
859a049646
1 file changed
+1
-1
+1
-1
@@ -113,7 +113,7 @@ public class PigRemoteRegisteredClientRepository implements RegisteredClientRepo
|
||||
// 注入扩展配置
|
||||
Optional.ofNullable(clientDetails.getAdditionalInformation()).ifPresent(ext -> {
|
||||
Map map = JSONUtil.parseObj(ext).toBean(Map.class);
|
||||
builder.clientSettings(ClientSettings.withSettings(map)
|
||||
builder.clientSettings(ClientSettings.withSettings(map).requireProofKey(false)
|
||||
.requireAuthorizationConsent(!BooleanUtil.toBoolean(clientDetails.getAutoapprove())).build());
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user