From 64fc9a19117f67decf488020e554bd093f091607 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Tue, 10 Nov 2026 14:39:43 +0100 Subject: [PATCH] README: portal's Rauthy client needs the groups scope, or a sign-in carries no groups Co-Authored-By: Claude Opus 5.5 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c31585a..2cab8fa 100644 --- a/README.md +++ b/README.md @@ -155,8 +155,10 @@ On a new host: Signed in, it sets up a passkey. 3. In Rauthy's admin (`https://konto.tomtervel.no/auth/v1/admin`), or with the bootstrap key: the client `portal` (`authorization_code`, - `S256`, scopes `openid profile email`, redirect - `https://tomtervel.no/auth/callback`) and `chat` (also + `S256`, scopes `openid profile email groups`, redirect + `https://tomtervel.no/auth/callback`; without `groups` Rauthy leaves + the groups out of the sign-in, and portal sees everyone in none: no + board, no committee) and `chat` (also `refresh_token`, redirect `https://samtaler.tomtervel.no/auth/callback`), their secrets into `OAUTH2_CLIENT_SECRET` and `CHAT_OAUTH2_CLIENT_SECRET`, and an API key `portal` with read,