mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: OIDC userinfo_endpoint must be configured #568
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 @flaxaurial on GitHub (Sep 11, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
No response
Current behaviour
After setting up OIDC with all the required information, an error logs
2024-09-11 08:02:55 [E] A hook (oidc) failed to load!Followed by
2024-09-11 08:02:55 [E] Failed to lift app: Unexpected token < in JSON at position 0Are there any solutions to this? I've tried rebooting the server.
Desired behaviour
No response
Steps to reproduce
None.
Other information
No response
@flaxaurial commented on GitHub (Sep 11, 2024):
I've managed to fix the above error, however now I'm getting
2024-09-11 08:50:25 [W] Error while exchanging OIDC code: TypeError: userinfo_endpoint must be configured on the issuer@meltyshev commented on GitHub (Sep 13, 2024):
Hi! I don’t have enough knowledge of OIDC or what the error might mean in your case, but I’ve added a "help wanted" label and hopefully someone else can assist.
@flaxaurial commented on GitHub (Sep 14, 2024):
Cheers, @meltyshev ! I'm still experiencing the issue:
2024-09-14 03:02:13 [W] Error while exchanging OIDC code: TypeError: userinfo_endpoint must be configured on the issuer 2024-09-14 03:02:13 [W] Invalid code or nonce! (IP: ::1)@meltyshev commented on GitHub (Sep 16, 2024):
Could you please provide your configuration and the provider you're using? There's very little information available to help figure out what might be wrong.
@meltyshev commented on GitHub (Sep 20, 2024):
Hi! We've added the ability to skip the userinfo endpoint and retrieve all claims from the id_token, but the new version hasn't been released yet. You can try using
planka:devdocker image to test how it works in your case (don't forget to set theOIDC_CLAIMS_SOURCE=id_tokenenvironment variable and please don't use this image in a production deployment).UPD: has already been released as v1.23.0.