Some GitHub usernames cause internal server errors without any info during first login #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
On GitHub and https://identity.lix.systems/, my username is
magneticflux-
, with a trailing hyphen. Logging in to Forgejo for the first time resulted in an internal server exception with no details. Using a little intuition, I changed my username on https://identity.lix.systems/ tomagneticflux0
, was able to log in to Forgejo, and then changed it back.Having a trailing hyphen in my username makes me a magnet for validation bugs all over the login stack, so I'm not sure exactly which part of the system is causing the issue. Upstream, on Codeberg, trying to create an account from GitHub asks for a username explicitly, and returns this error when using my name:
The consecutive non-alphanumeric character restriction is particularly funny, I don't think I've seen that before.
I don't expect the username validation to be changed, but the OAuth provider or whatever is creating the accounts should at least give a helpful error. If this is actually an upstream bug in Forgejo's new account creation flow, I apologize for bothering you!
Hi! Sorry for not responding sooner, I somehow missed this.
This does sound like an upstream bug to me.
I think you provided all the information I need, thanks for that.
I intend to fix this upstream, I just can't provide you with a timeline for when that will happen right now.