https://github.com/itzg/spring-security-spa-demo
A demo Spring Boot app to show single-page-app login/register strategy
https://github.com/itzg/spring-security-spa-demo
react spring-boot spring-security-oauth2
Last synced: 4 months ago
JSON representation
A demo Spring Boot app to show single-page-app login/register strategy
- Host: GitHub
- URL: https://github.com/itzg/spring-security-spa-demo
- Owner: itzg
- License: mit
- Created: 2018-06-10T18:06:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T18:29:47.000Z (about 7 years ago)
- Last Synced: 2025-01-14T08:52:22.755Z (5 months ago)
- Topics: react, spring-boot, spring-security-oauth2
- Language: JavaScript
- Size: 127 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```bash
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
```bash
java -jar target/spring-security-spa-demo-0.0.1-SNAPSHOT.jar --github-client-id=ID --github-client-secret=SECRET
```[spring-security-spa]: https://github.com/itzg/spring-security-spa