Client OAuth2 properties to use scope not scopes

OAuth2ClientProperties.Registration (which captures .properties and
.yml for OAuth2 Client) has a member `scope` but not `scopes`. Samples
and documentation were using `scopes` and have now been updated to use
`scope`.

Fixes gh-6510
This commit is contained in:
Stephen Doxsee
2019-02-08 08:41:03 -05:00
committed by Joe Grandja
parent 51f905cb89
commit 7633fbfd8a
5 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ spring:
github:
client-id: replace-with-client-id
client-secret: replace-with-client-secret
scopes: read:user,public_repo
scope: read:user,public_repo
----
You will need to replace the `client-id` and `client-secret` with values registered with GitHub.