Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

mathiasconradt/javapro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Security 5 OIDC Login Prototype

This work-in-progress prototype example uses Spring Boot 2.1.4 and Spring Security 5 to test and demonstrate OAuth2 Login support.

It's the accompanying repository for the article published in JAVA PRO 09/2020: https://javapro.io/

Running

Update application.yml with values for your domain, client ID, and client secret.

Run the application:

mvn spring-boot:run

Open your browser to http://localhost:3000. You will be prompted to login, after which the user information from the ID token of the authenticated user will be displayed.

Details

  • Uses Spring Security 5 OAuth2/OIDC features
  • Prototypes proper logout flow
  • Uses Authorization Code grant

About

JAVAPRO Spring Security 5.1 OpenID Connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published