From 5423d14d7f1a53989112f1428dd022ba59066adb Mon Sep 17 00:00:00 2001 From: Maurizio Lo Bosco Date: Sun, 16 Feb 2020 12:06:39 +0100 Subject: [PATCH] Fix README.adoc client registration property Currently when we add the git-hub client registration, the property starts with `security.oauth2...`, but the property's name starts as spring.security.oauth2. Since the project is just created, the yml doesn't exits or is empty, so there is no base `spring:` to append the suggested property to. --- simple/README.adoc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/simple/README.adoc b/simple/README.adoc index 1d04c26..68da148 100644 --- a/simple/README.adoc +++ b/simple/README.adoc @@ -122,13 +122,14 @@ Then, to make the link to GitHub, add the following to your `application.yml`: .application.yml [source,yaml] ---- -security: - oauth2: - client: - registration: - github: - clientId: github-client-id - clientSecret: github-client-secret +spring: + security: + oauth2: + client: + registration: + github: + clientId: github-client-id + clientSecret: github-client-secret # ... ----