[GH-ISSUE #2149] OIDC login does not work on 1.0.0-rc4 #6558

Closed
opened 2026-04-20 17:09:16 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @olofvndrhr on GitHub (Jan 24, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2149

Description

While doing a fresh install today i saw that the OIDC login/registration does not work anymore in RC4.

To reproduce:

  1. Click login with <provider> -> works
  2. Redirect to OIDC provider -> works
  3. OIDC provider redirects to <base url>/auth/openid/<provider> -> works
  4. Get error 404 on vikunja

Logs:

111-vikunja-server  | time=2026-01-24T23:25:00.228+01:00 level=ERROR component=http method=GET uri="/auth/openid/authentik?code=xyz&state=wjfh1ygryur" status=404 latency=116.161µs err="Not Found"

The browser also displayed the error.

When i rolled back to RC3, everything worked fine, with the exact same setup/config.

Setup:

  • Fresh install via docker
  • No prior data
  • OIDC via authentik

Config:

auth:
  local:
    enabled: false
  openid:
    enabled: true
    providers:
      authentik:
        name: "authentik"
        authurl: https://auth.abc.com/application/o/xxx/
        logouturl: https://auth.abc.com/application/o/xxx/end-session/
        # clientid:
        # clientsecret:
        scope: openid email profile offline_access

I also tried with local auth enabled, different provider names and different scopes. But all returned 404.

Vikunja Version

1.0.0-rc4

Browser and version

Firefox:147.0.1

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @olofvndrhr on GitHub (Jan 24, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2149 ### Description While doing a fresh install today i saw that the OIDC login/registration does not work anymore in RC4. **To reproduce:** 1. Click login with `<provider>` -> works 2. Redirect to OIDC provider -> works 3. OIDC provider redirects to `<base url>/auth/openid/<provider>` -> works 4. Get error 404 on vikunja **Logs:** ``` 111-vikunja-server | time=2026-01-24T23:25:00.228+01:00 level=ERROR component=http method=GET uri="/auth/openid/authentik?code=xyz&state=wjfh1ygryur" status=404 latency=116.161µs err="Not Found" ``` The browser also displayed the error. When i rolled back to RC3, everything worked fine, with the exact same setup/config. **Setup:** - Fresh install via docker - No prior data - OIDC via authentik **Config:** ```yml auth: local: enabled: false openid: enabled: true providers: authentik: name: "authentik" authurl: https://auth.abc.com/application/o/xxx/ logouturl: https://auth.abc.com/application/o/xxx/end-session/ # clientid: # clientsecret: scope: openid email profile offline_access ``` I also tried with local auth enabled, different provider names and different scopes. But all returned 404. ### Vikunja Version 1.0.0-rc4 ### Browser and version Firefox:147.0.1 ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@danyer commented on GitHub (Jan 24, 2026):

same using authelia as oidc

<!-- gh-comment-id:3795674945 --> @danyer commented on GitHub (Jan 24, 2026): same using authelia as oidc
Author
Owner

@suicidaleggroll commented on GitHub (Jan 25, 2026):

Same here with authentik. rc3 works, rc4 doesn't, the browser just goes to a "Not Found" error when trying to log in with OIDC.

<!-- gh-comment-id:3795738616 --> @suicidaleggroll commented on GitHub (Jan 25, 2026): Same here with authentik. rc3 works, rc4 doesn't, the browser just goes to a "Not Found" error when trying to log in with OIDC.
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Jan 25, 2026):

This issue has been fixed in b21c9ac, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:3796382381 --> @vikunja-bot-app[bot] commented on GitHub (Jan 25, 2026): This issue has been fixed in [`b21c9ac`](https://api.github.com/repos/go-vikunja/vikunja/commits/b21c9acb0d57fa1207f673acf740fc8b100b625d), please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6558