Created
April 19, 2020 05:40
-
-
Save pubudu94/82ec1a263f964ab944ee7b1f31830a17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Spring Boot configuration | |
spring: | |
profiles: | |
active: google | |
# Spring Security configuration | |
security: | |
oauth2: | |
client: | |
clientId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
clientSecret: xxxxxxxxxxxxxxxxxxxxxx | |
accessTokenUri: https://www.googleapis.com/oauth2/v4/token | |
userAuthorizationUri: https://accounts.google.com/o/oauth2/v2/auth | |
clientAuthenticationScheme: form | |
scope: | |
- openid | |
- profile | |
resource: | |
userInfoUri: https://www.googleapis.com/oauth2/v3/userinfo | |
preferTokenInfo: true | |
# Server configuration | |
server: | |
port: 8084 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment