mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: max username length (16) hit with OIDC #728
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 @madduck on GitHub (Jun 5, 2025).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Firefox
Current behavior
When users use OIDC to sign up, some get an error and in the logs it says something about the maximum length of the username being 16. I am sorry, I do not have to error anymore, and the user has also meanwhile onboarded, I think after I set
OIDC_IGNORE_USERNAME=truethis was possible.Desired behavior
Please make the username length configurable.
Steps to reproduce
Configure OIDC, create a user with a long username, login.
Other information
No response
@meltyshev commented on GitHub (Jun 10, 2025):
I think we can increase the maximum length (to 32) when creating a user via OIDC. I'll test this and implement the change now.
@madduck commented on GitHub (Jun 11, 2025):
A hack for now, just wondering if there isn't a way to make that number configurable? I understand it informs the database schema (though most databases nowadays have
STRINGor the like andVARCHARisn't really necessary anymore), but it could be an install-time thing.Thanks,
Martin