Skip to content

Commit 4c040e9

Browse files
committed
Revert "Fix links in oauth2 doc"
This reverts commit 138e676.
1 parent 138e676 commit 4c040e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-login.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ The redirect URI is the path in the application that the end-user's user-agent i
4040
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`.
4141

4242
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>>.
4444

4545
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`.
4747

4848

4949
[[oauth2login-sample-application-config]]
@@ -69,7 +69,7 @@ spring:
6969
.OAuth Client properties
7070
====
7171
<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.
7373
====
7474

7575
. 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
9393
[[oauth2login-boot-property-mappings]]
9494
=== Spring Boot 2.x Property Mappings
9595

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.
9797

9898
|===
9999
|Spring Boot 2.x |ClientRegistration

0 commit comments

Comments
 (0)