Skip to content

Instantly share code, notes, and snippets.

@pubudu94
Created April 19, 2020 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pubudu94/82ec1a263f964ab944ee7b1f31830a17 to your computer and use it in GitHub Desktop.
Save pubudu94/82ec1a263f964ab944ee7b1f31830a17 to your computer and use it in GitHub Desktop.
# 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
- email
- 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