Hi, i came across a bug while i was trying to link my GitHub.https://streamable.com/guk8px
Can you please be more specific?
I included the video of the issue.
Ah, overlooked the link first.
This looks like a Forgejo bug rather than something on your side: if Forgejo already associates your GitHub account with your CodeFloe account, clicking “Link account” signs you in again and sends you to the dashboard, without creating the link or showing a message.
The most likely cause is that the account was created with GitHub and the link was removed later, which leaves part of the association behind. Two quick questions:
- Did you originally sign up with GitHub, and did you remove the link at some point?
- Does “Sign in with GitHub” on the login page still work for your account?
- Signed up with GitHub, but didn’t remove the link.
- Yes
Thanks, that rules out what we suggested above: you didn’t do anything wrong and we were wrong about the link having been removed.
This is a Forgejo bug. When an account is created through GitHub, Forgejo stored the GitHub identity on the account but never created the entry that “Linked accounts” reads, so “Link account” just signed you in again.
We’ve repaired this for your account and everyone else affected, so GitHub should now show up under “Linked accounts” and you don’t need to do anything.
The (old) initial upstream report is here: #11857 - OIDC auto-registration does not create external_login_user row for all users - forgejo/forgejo - Codeberg.org