java-tutorials/spring-security-openid
Doha2012 5840f99d49 upgrade to spring boot 1.5.2 (#1346) 2017-03-09 21:03:53 +01:00
..
src/main rename openID module 2017-02-02 14:00:34 +02:00
README.md rename openID module 2017-02-02 14:00:34 +02:00
pom.xml upgrade to spring boot 1.5.2 (#1346) 2017-03-09 21:03:53 +01:00

README.md

=========

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