java-tutorials/spring-openid/README.md

18 lines
568 B
Markdown
Raw Normal View History

2016-03-03 05:47:03 -05:00
=========
## OpenID Connect with Spring Security
### Build the Project
```
mvn clean install
```
2016-03-03 05:57:42 -05:00
### Obtain Google App - Client ID, Secret
2016-03-03 05:47:03 -05:00
- 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
2016-03-03 05:57:42 -05:00
- Once you have your client id and secret, make sure you add them to the `application.properties` of the project