java-tutorials/spring-security-openid
sachin29aug 375c50e805 BAEL-8939: Adding a Spring Context test in all Spring Modules (changes for around 21 more modules.. work in progress..) 2018-09-15 13:57:53 -04:00
..
src BAEL-8939: Adding a Spring Context test in all Spring Modules (changes for around 21 more modules.. work in progress..) 2018-09-15 13:57:53 -04:00
README.md README files update (#1435) 2017-03-18 20:25:06 +01:00
pom.xml BAEL-8141 Can we remove some of the Spring milestone/snapshot repos from modules? (#4941) 2018-08-10 06:46:38 +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