mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-22 06:11:08 -05:00
OpenID Provider AuthURL Fails with Trailing Slash #626
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bannert1337 on GitHub (Sep 15, 2025).
Description
When configuring an OpenID provider, the
authurlfield fails if it includes a trailing slash. The OIDC issuer validation expects the provided URL to exactly match the issuer returned by the provider, but the provider's issuer URL often omits trailing slashes.Expected behavior:
Vikunja's OpenID configuration should correctly handle
authurlvalues regardless of a trailing slash, either by normalizing the URL before validation or by performing a case-insensitive/trailing-slash-agnostic comparison for the issuer.Current behavior:
The following
authurlfails:https://auth.example.com/The following
authurlworks:https://auth.example.comError message:
Vikunja Version
v1.0.0-rc2-8-a1c4d46d
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
@kolaente commented on GitHub (Sep 17, 2025):
You need to fix either your openid provider or set the correct issuer url in Vikunja. The error comes from the openid library Vikunja uses and the validation logic is not something we control.