Add docs for testing SSO #101
2 changed files with 17 additions and 0 deletions
1
.env.example
Normal file
1
.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
OIDC_CLIENT_SECRET=
|
||||
16
README.md
16
README.md
|
|
@ -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
|
||||
|
carla marked this conversation as resolved
Outdated
|
||||
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
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue
There is no
dev/rauthy/config.tomlfor me. I can find the password in the logs:docker logs rauthy-dev. Unfortunately the docker-compose envBOOTSTRAP_ADMIN_PASSWORD_PLAINdoes not work for me.Somehow this stopped working, even if it is exactly as described in the docs.
We can either create an issue to check bootstrapping again or we describe the way to 1. get the password from the logs and then 2. reset the password with a comfortable one accessing the reset mail. What do you think?
I would favor to check the bootstrapping again. Setting a fixed password in the env would make the dev setup easier.
#113