mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug]: Unable to login with OIDC (Azure) #694
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 @danigl93 on GitHub (May 10, 2025).
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 behavior
When I want to login with odic I get following message in the new V2 RC2:
POST /api/access-tokens/exchange-with-oidc) due to 1 missing or invalid parameter."["Invalid "code":↵ · Value was -61 characters longer than the configured maximum length (1024)"]
`
Best regards
Desired behavior
No response
Steps to reproduce
Try to login with "Log in with SSO"
Other information
No response
@cjmaldonado commented on GitHub (May 13, 2025):
Azure AD code challenges seem to be larger than 1024 characters.
https://github.com/plankanban/planka/blob/master/server/api/controllers/access-tokens/exchange-with-oidc.js#L38
Should be an easy fix by settings to 2048 or something higher than 1024.
@cjmaldonado commented on GitHub (May 13, 2025):
Created PR: https://github.com/plankanban/planka/pull/1126