Skip to content

Commit e64bf9b

Browse files
committed
openID read-me
1 parent efa87d8 commit e64bf9b

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

‎spring-openid/README.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
=========
2+
3+
## OpenID Connect with Spring Security
4+
5+
6+
### Build the Project
7+
```
8+
mvn clean install
9+
```
10+
11+
12+
### Obtain Google app Client ID, Secret
13+
- You need to get client id and client secret from [Google Developer Console](https://console.developers.google.com/project/_/apiui/credential?pli=1)
14+
- Make sure to add OAuth2 credentials by selecting Add credentials > OAuth 2.0 client ID
15+
- Make sure you set redirect URI to http://localhost:8081/google-login
16+
17+
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
server.port=8081
2-
google.clientId=497324626536-d6fphsh1qpl2o6j2j66nukajrfqc0rtq.apps.googleusercontent.com
3-
google.clientSecret=vtueZycMsrRjjCjnY6JzbEZT
2+
google.clientId=TODO
3+
google.clientSecret=TODO
44
google.accessTokenUri=https://www.googleapis.com/oauth2/v3/token
55
google.userAuthorizationUri=https://accounts.google.com/o/oauth2/auth
66
google.redirectUri=http://localhost:8081/google-login

0 commit comments

Comments
 (0)