openID read-me
This commit is contained in:
parent
efa87d8bce
commit
e64bf9b7bd
|
@ -0,0 +1,17 @@
|
||||||
|
=========
|
||||||
|
|
||||||
|
## OpenID Connect with Spring Security
|
||||||
|
|
||||||
|
|
||||||
|
### Build the Project
|
||||||
|
```
|
||||||
|
mvn clean install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Obtain Google app Client ID, Secret
|
||||||
|
- You need to get client id and client secret from [Google Developer Console](https://console.developers.google.com/project/_/apiui/credential?pli=1)
|
||||||
|
- Make sure to add OAuth2 credentials by selecting Add credentials > OAuth 2.0 client ID
|
||||||
|
- Make sure you set redirect URI to http://localhost:8081/google-login
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
server.port=8081
|
server.port=8081
|
||||||
google.clientId=497324626536-d6fphsh1qpl2o6j2j66nukajrfqc0rtq.apps.googleusercontent.com
|
google.clientId=TODO
|
||||||
google.clientSecret=vtueZycMsrRjjCjnY6JzbEZT
|
google.clientSecret=TODO
|
||||||
google.accessTokenUri=https://www.googleapis.com/oauth2/v3/token
|
google.accessTokenUri=https://www.googleapis.com/oauth2/v3/token
|
||||||
google.userAuthorizationUri=https://accounts.google.com/o/oauth2/auth
|
google.userAuthorizationUri=https://accounts.google.com/o/oauth2/auth
|
||||||
google.redirectUri=http://localhost:8081/google-login
|
google.redirectUri=http://localhost:8081/google-login
|
Loading…
Reference in New Issue