Skip to content

Instantly share code, notes, and snippets.

@phc15
Last active January 28, 2021 12:59
Show Gist options
  • Save phc15/14ee434f5edb4b023ef93ae7a7fe9ff9 to your computer and use it in GitHub Desktop.
Save phc15/14ee434f5edb4b023ef93ae7a7fe9ff9 to your computer and use it in GitHub Desktop.
# use for application.properties
security.oauth2.client.clientId=SAMPLE_CLIENT_ID
security.oauth2.client.clientSecret=SAMPLE_CLIENT_SECRET
security.oauth2.client.accessTokenUri=https://www.googleapis.com/oauth2/v4/token
security.oauth2.client.userAuthorizationUri=https://accounts.google.com/o/oauth2/v2/auth
# security.oauth2.client.tokenName=oauth_token
# security.oauth2.client.authenticationScheme=query
security.oauth2.client.clientAuthenticationScheme=form
security.oauth2.client.scope=profile email openid
security.oauth2.resource.userInfoUri=https://www.googleapis.com/oauth2/v3/userinfo
security.oauth2.resource.preferTokenInfo=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment