java-tutorials/spring-openid/README.md

568 B

=========

OpenID Connect with Spring Security

Build the Project

mvn clean install

Obtain Google App - Client ID, Secret

  • You need to get client id and client secret from 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