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: docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-login.adoc
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,10 @@ The redirect URI is the path in the application that the end-user's user-agent i
40
40
In the "Set a redirect URI" sub-section, ensure that the *Authorized redirect URIs* field is set to `http://localhost:8080/login/oauth2/code/google`.
41
41
42
42
TIP: The default redirect URI template is `+{baseUrl}/login/oauth2/code/{registrationId}+`.
43
-
The *_registrationId_* is a unique identifier for the <<oauth2-client.adoc#oauth2Client-client-registration,ClientRegistration>>.
43
+
The *_registrationId_* is a unique identifier for the <<oauth2Client-client-registration,ClientRegistration>>.
44
44
45
45
IMPORTANT: If the OAuth Client is running behind a proxy server, it is recommended to check <<http-proxy-server,Proxy Server Configuration>> to ensure the application is correctly configured.
46
-
Also, see the supported <<oauth2-client.adoc#oauth2Client-auth-code-redirect-uri, `URI` template variables>> for `redirect-uri`.
46
+
Also, see the supported <<oauth2Client-auth-code-redirect-uri, `URI` template variables>> for `redirect-uri`.
47
47
48
48
49
49
[[oauth2login-sample-application-config]]
@@ -69,7 +69,7 @@ spring:
69
69
.OAuth Client properties
70
70
====
71
71
<1> `spring.security.oauth2.client.registration` is the base property prefix for OAuth Client properties.
72
-
<2> Following the base property prefix is the ID for the <<oauth2-client.adoc#oauth2Client-client-registration,ClientRegistration>>, such as google.
72
+
<2> Following the base property prefix is the ID for the <<oauth2Client-client-registration,ClientRegistration>>, such as google.
73
73
====
74
74
75
75
. Replace the values in the `client-id` and `client-secret` property with the OAuth 2.0 credentials you created earlier.
@@ -93,7 +93,7 @@ At this point, the OAuth Client retrieves your email address and basic profile i
93
93
[[oauth2login-boot-property-mappings]]
94
94
=== Spring Boot 2.x Property Mappings
95
95
96
-
The following table outlines the mapping of the Spring Boot 2.x OAuth Client properties to the <<oauth2-client.adoc#oauth2Client-client-registration,ClientRegistration>> properties.
96
+
The following table outlines the mapping of the Spring Boot 2.x OAuth Client properties to the <<oauth2Client-client-registration,ClientRegistration>> properties.
0 commit comments