Introducing new features. 优化适配 knife4j

This commit is contained in:
lbw 2023-08-15 23:25:22 +08:00
parent 0d61cedc8c
commit 0f27bfda7b

View File

@ -128,7 +128,7 @@ public abstract class OAuth2ResourceOwnerBaseAuthenticationProvider<T extends OA
authorizedScopes = new LinkedHashSet<>(resouceOwnerBaseAuthentication.getScopes());
}
else {
throw new ScopeException(OAuth2ErrorCodesExpand.SCOPE_IS_EMPTY);
authorizedScopes = new LinkedHashSet<>();
}
Map<String, Object> reqParameters = resouceOwnerBaseAuthentication.getAdditionalParameters();