You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AccessTokenAuthenticationToken.java
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AuthorizationCodeAuthenticationProvider.java
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AuthorizationCodeAuthenticationToken.java
+37-5
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
importorg.springframework.util.Assert;
23
23
24
24
importjava.util.Collections;
25
+
importjava.util.Map;
25
26
26
27
/**
27
28
* An {@link Authentication} implementation used for the OAuth 2.0 Authorization Code Grant.
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java
-1
Original file line number
Diff line number
Diff line change
@@ -367,7 +367,6 @@ public RegisteredClient build() {
367
367
Assert.hasText(this.clientId, "clientId cannot be empty");
368
368
Assert.notEmpty(this.authorizationGrantTypes, "authorizationGrantTypes cannot be empty");
369
369
if (this.authorizationGrantTypes.contains(AuthorizationGrantType.AUTHORIZATION_CODE)) {
370
-
Assert.hasText(this.clientSecret, "clientSecret cannot be empty");
371
370
Assert.notEmpty(this.redirectUris, "redirectUris cannot be empty");
372
371
}
373
372
if (CollectionUtils.isEmpty(this.clientAuthenticationMethods)) {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/web/OAuth2AuthorizationEndpointFilter.java
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/web/OAuth2TokenEndpointFilter.java
0 commit comments