Files
Archivum/backend/internal/auth
Bjorn Blomberg d4cea04941
All checks were successful
build-and-push / build (push) Successful in 9m0s
fix(oidc): don't strip issuer trailing slash (Authentik discovery match)
go-oidc requires the issuer passed to NewProvider to exactly match the issuer
in the discovery document. Authentik returns ".../application/o/<slug>/" with a
trailing slash; we were stripping it, causing "issuer did not match". Pass the
issuer verbatim and fall back to the alternate slash form.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-05 23:03:15 +02:00
..