Compare commits

...

2 commits

Author SHA1 Message Date
186d9733fd
docs: Add docs for testing SSO
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-04 11:58:35 +02:00
1858542f07
docs: Add .env.example file 2025-08-04 11:49:44 +02:00
2 changed files with 17 additions and 0 deletions

1
.env.example Normal file
View file

@ -0,0 +1 @@
OIDC_CLIENT_SECRET=

View file

@ -1,2 +1,18 @@
# mitgliederverwaltung
## Testing SSO with rauthy
1. `just run`
1. go to [localhost:8080], go to the Admin area
1. Login with "admin@localhost" and password from `BOOTSTRAP_ADMIN_PASSWORD_PLAIN` in docker-compose.yml
1. add client from the admin panel
- Client ID: mv
- redirect uris: http://localhost:4000/auth/user/rauthy/callback
- Authorization Flows: authorization_code
- allowed origins: http://localhost:4000
- access/id token algortihm: RS256 (EDDSA did not work for me, found just few infos in the ashauthentication docs)
1. copy client secret to `.env` file
1. abort and run `just run` again