プロジェクト




概要
Spring Boot + Spring Securityを使ったOIDCシングルサインオンのデモ
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルOAuth2/OIDC SSO Demo with Spring Boot + Spring Security
This demo app consists of following three components:
- Authorization ... OAuth2/OIDC Authorization Server. Using Spring Authorization Server.
- Todo API ... OAuth2 Resource Server. Provides REST API. Using Spring Security's OAuth2 Resource Server.
- Todo Frontend ... Web UI (React + Spring MVC) backed by Spring Security's OAuth2 Login + OAuth 2.0 Client.
- Todo Frontend WebFlux ... Web UI (React + Spring WebFlux) backed by Spring Security's OAuth2 Login + OAuth 2.0 Client.
How to run
Java 21+ and docker are required.
./mvnw spring-boot:run -f authorization -Dspring-boot.run.arguments="--spring.docker.compose.enabled=true --spring.docker.compose.file=$(pwd)/compose.yaml"
./mvnw spring-boot:run -f todo-api -Dspring-boot.run.arguments="--spring.docker.compose.enabled=true --spring.docker.compose.file=$(pwd)/compose.yaml"
./mvnw spring-boot:run -f todo-frontend -Dspring-boot.run.arguments="--spring.docker.compose.enabled=true --spring.docker.compose.file=$(pwd)/compose.yaml"
or
./mvnw spring-boot:run -f todo-frontend-webflux -Dspring-boot.run.arguments="--spring.docker.compose.enabled=true --spring.docker.compose.file=$(pwd)/compose.yaml"
Visit http://localhost:8080 (todo-frontend). The first time you visit, you will be redirected to http://authorization.localhost:9000 (authorization).
- Username:
[email protected] - Password:
password
Feel free to add new Todos or complete them.
You can see the tracing via Zipkin (http://localhost:9411)
In the authorization server, you can also change the password and manage passkeys.
Docker Compose will automatically start up when the app is started, but it will not automatically shut down, so if you do not need Zipkin after stopping the app, please shut down Docker Compose as well.
pkill -TERM java
docker compose down
関連プロジェクトを探す
読み込み中…