java-tutorials/spring-security-openid
Doha2012 aa0785ca16 upgrade opened to spring boot 2 (#3441)
* upgrade opened to spring boot 2
2018-01-17 22:59:15 +02:00
..
src/main upgrade opened to spring boot 2 (#3441) 2018-01-17 22:59:15 +02:00
README.md README files update (#1435) 2017-03-18 20:25:06 +01:00
pom.xml upgrade opened to spring boot 2 (#3441) 2018-01-17 22:59:15 +02:00

README.md

Relevant articles

OpenID Connect with Spring Security

Run the Project

mvn spring-boot:run

Obtain Google App - Client ID, Secret

  • You need to get client id and client secret by creating a new project at Google Developer Console

  • 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

  • Once you have your client id and secret, make sure you add them to the application.properties of the project