java-tutorials/spring-security-openid
Martin van Wingerden 0e23f2e682 [BAEL-3392] Formatted code examples for [BAEL-3392] 2019-11-01 09:24:05 +01:00
..
src [BAEL-3392] Formatted code examples for [BAEL-3392] 2019-11-01 09:24:05 +01:00
README.md [BAEL-3392] Formatted code examples for [BAEL-3392] 2019-11-01 09:24:05 +01:00
pom.xml [BAEL-3392] Formatted code examples for [BAEL-3392] 2019-11-01 09:24:05 +01:00

README.md

Spring Security OpenID

This module contains articles about OpenID with Spring Security

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