Skip to content
Projetos

making/oauth2-sso-demo

Ver no GitHub

Sobre

Demonstração de SSO com OIDC, Spring Boot e Spring Security

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

OAuth2/OIDC SSO Demo with Spring Boot + Spring Security

This demo app consists of following three components:

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).

Image Image

Feel free to add new Todos or complete them.

Image

You can see the tracing via Zipkin (http://localhost:9411)

Image Image

In the authorization server, you can also change the password and manage passkeys.

Image

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

Explore projetos relacionados

Carregando…