docs(vikunja): note PKCE must be off on Pocket ID client (DEV-560)
Vikunja 2.x's frontend redirect helper and Go backend do not send code_challenge. Pocket ID rejects the /authorize call with 'code_challenge parameter is missing' when the client has pkceEnabled=true. The Vikunja client is confidential (isPublic=false) so client_secret still authenticates the token exchange — turning PKCE off is safe and required. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
18eba97fcb
commit
244ff86714
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ Both the app and Postgres pin to Hetzner location `fsn1` because their PVCs live
|
||||||
- Pocket ID client `Vikunja` (id `cdfff4ee-28ba-4aab-9f47-7e41b4b6b847`), callback `https://vikunja.basicstack.de/auth/openid/basicstack`.
|
- Pocket ID client `Vikunja` (id `cdfff4ee-28ba-4aab-9f47-7e41b4b6b847`), callback `https://vikunja.basicstack.de/auth/openid/basicstack`.
|
||||||
- Pocket ID groups `vikunja_admins` and `vikunja_members`.
|
- Pocket ID groups `vikunja_admins` and `vikunja_members`.
|
||||||
- Vikunja does not map OIDC groups to the admin flag. Promote the first user post-login: `kubectl -n vikunja exec deploy/vikunja -- /app/vikunja/vikunja user set-admin --admin <username>`.
|
- Vikunja does not map OIDC groups to the admin flag. Promote the first user post-login: `kubectl -n vikunja exec deploy/vikunja -- /app/vikunja/vikunja user set-admin --admin <username>`.
|
||||||
|
- **PKCE must be OFF on the Pocket ID client.** Vikunja 2.x's OAuth redirect (`frontend/src/helpers/redirectToProvider.ts`) does not send `code_challenge`, and the Go backend does not implement PKCE either. With `pkceEnabled: true` on Pocket ID the flow fails at `/authorize` with `invalid_request … 'code_challenge' parameter is missing`. Client is confidential (`isPublic: false`), so `client_secret` still authenticates the token exchange.
|
||||||
|
|
||||||
## Optional: SMTP
|
## Optional: SMTP
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue