Add docs for testing SSO #101

Merged
carla merged 3 commits from push-okkoxvykzxmz into main 2025-08-14 16:57:26 +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](http://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