From d705696bdd9b8785d061a6bd09ff6ae049ea047e Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Thu, 12 Oct 2017 11:44:19 +0200 Subject: [PATCH] Fix Security OAuth2 Client documentation This commit fixes incorrect section level and sample configuration properties. See gh-10615 --- .../src/main/asciidoc/spring-boot-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index a3ccc5e075f..fdef8775851 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2836,7 +2836,7 @@ explicitly configure the paths that you do want to override. [[boot-features-security-oauth2]] === OAuth2 -=== Client +==== Client If you have `spring-security-oauth2-client` on your classpath you can take advantage of some auto-configuration to make it easy to set up an OAuth2 Client. This configuration makes use of the properties under `OAuth2ClientProperties`. @@ -2858,7 +2858,7 @@ You can register multiple OAuth2 clients and providers under the provider: my-oauth-provider scope: user redirect-uri: http://my-redirect-uri.com - authentication-method: basic + client-authentication-method: basic authorization-grant-type: authorization_code my-client2: client-id: abcd @@ -2867,7 +2867,7 @@ You can register multiple OAuth2 clients and providers under the provider: my-oauth-provider scope: email redirect-uri: http://my-redirect-uri.com - authentication-method: basic + client-authentication-method: basic authorization-grant-type: authorization_code provider: my-oauth-provider: