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/config/annotation/web/configurers/oauth2/server/authorization/OAuth2AuthorizationServerConfigurer.java
+3-5
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ public OAuth2AuthorizationServerConfigurer<B> providerSettings(ProviderSettings
158
158
*
159
159
* <ul>
160
160
* <li>{@code client_id} - the client identifier</li>
161
-
* <li>{@code scope} - the space separated list of scopes present in the authorization request</li>
161
+
* <li>{@code scope} - a space-delimited list of scopes present in the authorization request</li>
162
162
* <li>{@code state} - a CSRF protection token</li>
163
163
* </ul>
164
164
*
@@ -172,11 +172,9 @@ public OAuth2AuthorizationServerConfigurer<B> providerSettings(ProviderSettings
172
172
* <li>It must include the received {@code state} as an HTTP parameter</li>
173
173
* <li>It must include the list of {@code scope}s the {@code Resource Owner}
174
174
* consented to as an HTTP parameter</li>
175
-
* <li>It must include the {@code consent_action} parameter, with a value either
176
-
* {@code approve} or {@code cancel} as an HTTP parameter</li>
177
175
* </ul>
178
176
*
179
-
* @param consentPage the consent page to redirect to if consent is required (e.g. "/oauth2/consent")
177
+
* @param consentPage the URI of the custom consent page to redirect to if consent is required (e.g. "/oauth2/consent")
180
178
* @return the {@link OAuth2AuthorizationServerConfigurer} for further configuration
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/web/OAuth2AuthorizationEndpointFilter.java
+11-11
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ public class OAuth2AuthorizationEndpointFilter extends OncePerRequestFilter {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/authorization/OAuth2AuthorizationCodeGrantTests.java
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/web/OAuth2AuthorizationEndpointFilterTests.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ public void doFilterWhenAuthorizationRequestConsentRequiredWithCustomConsentUriT
Copy file name to clipboardExpand all lines: samples/boot/oauth2-integration/authorizationserver-custom-consent-page/src/main/resources/templates/consent.html
0 commit comments