Created
February 8, 2020 12:09
-
-
Save navichok26/6b9a24de02702dcf13e9add741e5080c to your computer and use it in GitHub Desktop.
Spring boot OAuth2 with google
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
security.oauth2.client.clientId=**** | |
security.oauth2.client.clientSecret=**** | |
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.clientAuthenticationScheme=form | |
security.oauth2.client.scope=openid,email,profile | |
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