java-tutorials/spring-security-openid
amit2103 97f8a0c46c [BAEL-12091] - Fix formatting of POMs 2019-02-10 01:47:19 +05:30
..
src Migrated modules to parent-boot-2 usign spring-boot 2.1: 2018-12-12 09:29:23 -02:00
README.md
pom.xml [BAEL-12091] - Fix formatting of POMs 2019-02-10 01:47:19 +05:30

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