OIDC - "It looks like your openid configuration is in the wrong format. Please check the docs for the correct format." #601

Closed
opened 2025-11-01 21:00:06 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Lipown on GitHub (Sep 9, 2025).

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). ### 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

@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 :)

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#601