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

Java Aktuell Spring Security 5.1 OpenID Connect

License

Notifications You must be signed in to change notification settings

mathiasconradt/java-aktuell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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 Aktuell 05/2019: https://www.ijug.eu/de/java-aktuell/

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

Screencast

(Click to watch on Youtube)

Screencast

About

Java Aktuell Spring Security 5.1 OpenID Connect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published