Skip to content

itzg/spring-security-spa-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Spring Boot application that demonstrates combining spring-security-spa with OAuth2 security to enable a user to login/register with your application either with an application managed login or a third party authentication provider.

Building

mvn package

Configuring OAuth app in Github

When configuring a Github OAuth app for use with this demo, make sure to se the "Authorization callback URL" to

http://localhost:8080/login/oauth2/code/github

Running

java -jar target/spring-security-spa-demo-0.0.1-SNAPSHOT.jar --github-client-id=ID --github-client-secret=SECRET

About

A demo Spring Boot app to show single-page-app login/register strategy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published