[GH-ISSUE #1447] OIDC - "It looks like your openid configuration is in the wrong format. Please check the docs for the correct format." #6395

Closed
opened 2026-04-20 16:59:34 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @Lipown on GitHub (Sep 9, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1447

Description

Using docker compose installation I updated the Vikunja and started to get this error in container when I try to log in.

I am using Authentik for OIDC and it was working without issues for at least a year.
I am stuck on this screen.

Image

Vikunja Version

image: vikunja/vikunja

Browser and version

Tried different browsers, different platforms

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @Lipown on GitHub (Sep 9, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1447 ### Description Using docker compose installation I updated the Vikunja and started to get this error in container when I try to log in. I am using Authentik for OIDC and it was working without issues for at least a year. I am stuck on this screen. <img width="1095" height="887" alt="Image" src="https://github.com/user-attachments/assets/e387fa95-20ba-40d5-b47d-83ccf475908f" /> ### Vikunja Version image: vikunja/vikunja ### Browser and version Tried different browsers, different platforms ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Sep 9, 2025):

You need to migrate your config to the new format. It seems like you upgraded to the newest RC which requires that.

Check out the docs about this: https://vikunja.io/docs/openid/#step-2-configure-vikunja

<!-- gh-comment-id:3271566094 --> @kolaente commented on GitHub (Sep 9, 2025): You need to migrate your config to the new format. It seems like you upgraded to the newest RC which requires that. Check out the docs about this: https://vikunja.io/docs/openid/#step-2-configure-vikunja
Author
Owner

@tszdabee commented on GitHub (Sep 12, 2025):

You need to migrate your config to the new format. It seems like you upgraded to the newest RC which requires that.

Check out the docs about this: https://vikunja.io/docs/openid/#step-2-configure-vikunja

@kolaente thanks, updating the config worked :)

<!-- gh-comment-id:3286005872 --> @tszdabee commented on GitHub (Sep 12, 2025): > You need to migrate your config to the new format. It seems like you upgraded to the newest RC which requires that. > > Check out the docs about this: https://vikunja.io/docs/openid/#step-2-configure-vikunja @kolaente thanks, updating the config worked :)
Author
Owner

@VincentSC commented on GitHub (Sep 22, 2025):

Well, it only works when using the "unstable syntax", as the other syntax has been dropped.

auth:
  openid:
    enabled: true
    providers:
       <provider-id>:
          name: <provider-name>
          authurl: <auth-url>  <----- Used for OIDC Discovery, usually the issuer
          clientid: <vikunja client-id>
          clientsecret: <vikunja client-secret>
          scope: openid profile email
          forceuserinfo: false # Optional: Set to true to always use UserInfo endpoint instead of ID token claims, defaults to false

Supporting the "stable syntax" is set not will-not-fix, as discussed in https://github.com/go-vikunja/vikunja/issues/1533 and documentation still needs to be updated.

<!-- gh-comment-id:3320880450 --> @VincentSC commented on GitHub (Sep 22, 2025): Well, it only works when using the "unstable syntax", as the other syntax has been dropped. ``` auth: openid: enabled: true providers: <provider-id>: name: <provider-name> authurl: <auth-url> <----- Used for OIDC Discovery, usually the issuer clientid: <vikunja client-id> clientsecret: <vikunja client-secret> scope: openid profile email forceuserinfo: false # Optional: Set to true to always use UserInfo endpoint instead of ID token claims, defaults to false ``` Supporting the "stable syntax" is set not will-not-fix, as discussed in https://github.com/go-vikunja/vikunja/issues/1533 and documentation still needs to be updated.
Author
Owner

@TheBig-O commented on GitHub (Nov 2, 2025):

Struggled with this for hours because the documentation still isn't updated over a month later!

<!-- gh-comment-id:3477273463 --> @TheBig-O commented on GitHub (Nov 2, 2025): Struggled with this for hours because the documentation still isn't updated over a month later!
Author
Owner

@VincentSC commented on GitHub (Nov 3, 2025):

Yup, that's why I put the syntax in this issue, so others could find it more easily. I had the same frustration...

You can also find it at https://vikunja.io/docs/openid/ by searching for "Unstable syntax:"

<!-- gh-comment-id:3481697773 --> @VincentSC commented on GitHub (Nov 3, 2025): Yup, that's why I put the syntax in this issue, so others could find it more easily. I had the same frustration... You can also find it at https://vikunja.io/docs/openid/ by searching for "Unstable syntax:"
Author
Owner

@tomlawesome commented on GitHub (Nov 7, 2025):

Yup, that's why I put the syntax in this issue, so others could find it more easily. I had the same frustration...

You can also find it at https://vikunja.io/docs/openid/ by searching for "Unstable syntax:"

Thank you for doing so. Worked first time when using the unstable syntax.. Docs really need an update in the authentik section.

<!-- gh-comment-id:3502072451 --> @tomlawesome commented on GitHub (Nov 7, 2025): > Yup, that's why I put the syntax in this issue, so others could find it more easily. I had the same frustration... > > You can also find it at https://vikunja.io/docs/openid/ by searching for "Unstable syntax:" Thank you for doing so. Worked first time when using the unstable syntax.. Docs really need an update in the authentik section.
Author
Owner

@mrkesu commented on GitHub (Dec 23, 2025):

This was almost comically confusing to get working, but thanks to some of the hints here it finally worked.

I had to remove the strict redirect on authentiks end to get this to work for some reason, plus use the "unstable" syntax (which is the only syntax that works!)

<!-- gh-comment-id:3686839388 --> @mrkesu commented on GitHub (Dec 23, 2025): This was almost comically confusing to get working, but thanks to some of the hints here it finally worked. I had to remove the strict redirect on authentiks end to get this to work for some reason, plus use the "unstable" syntax (which is the only syntax that works!)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6395