Skip to content

Commit d705696

Browse files
vpavicsnicoll
authored andcommitted
Fix Security OAuth2 Client documentation
This commit fixes incorrect section level and sample configuration properties. See gh-10615
1 parent d307eba commit d705696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,7 @@ explicitly configure the paths that you do want to override.
28362836
[[boot-features-security-oauth2]]
28372837
=== OAuth2
28382838

2839-
=== Client
2839+
==== Client
28402840
If you have `spring-security-oauth2-client` on your classpath you can take advantage of
28412841
some auto-configuration to make it easy to set up an OAuth2 Client. This configuration
28422842
makes use of the properties under `OAuth2ClientProperties`.
@@ -2858,7 +2858,7 @@ You can register multiple OAuth2 clients and providers under the
28582858
provider: my-oauth-provider
28592859
scope: user
28602860
redirect-uri: http://my-redirect-uri.com
2861-
authentication-method: basic
2861+
client-authentication-method: basic
28622862
authorization-grant-type: authorization_code
28632863
my-client2:
28642864
client-id: abcd
@@ -2867,7 +2867,7 @@ You can register multiple OAuth2 clients and providers under the
28672867
provider: my-oauth-provider
28682868
scope: email
28692869
redirect-uri: http://my-redirect-uri.com
2870-
authentication-method: basic
2870+
client-authentication-method: basic
28712871
authorization-grant-type: authorization_code
28722872
provider:
28732873
my-oauth-provider:

0 commit comments

Comments
 (0)