Linking Github account fails, redirects to homepage #2366

Open
opened 2026-02-05 15:21:43 +01:00 by classabbyamp · 4 comments

Comment

in security settings, if I click "link account" and choose "Github", then click "authorize" in the oauth prompt:
image

the oauth authorization succeeds, but I get redirected to codeberg.org and linked accounts is still empty:
image

### Comment in [security settings](https://codeberg.org/user/settings/security), if I click "link account" and choose "Github", then click "authorize" in the oauth prompt: ![image](/attachments/4a3842ec-5de1-4359-a2be-63b7bd61f61b) the oauth authorization succeeds, but I get redirected to codeberg.org and linked accounts is still empty: ![image](/attachments/62d8b295-700a-4a3e-a836-8474eef9c48c)
Author

this appears to only affect my account, as a friend was able to successfully link their github account to their codeberg account. in their case, it redirected from the oauth page to the security settings, and now shows github is actively linked in those settings

this appears to only affect my account, as a friend was able to successfully link their github account to their codeberg account. in their case, it redirected from the oauth page to the security settings, and now shows github is actively linked in those settings

Do you have any browser extensions that could potentially remove query strings from URLs? Could you try doing it on another browser/device?

Do you have any browser extensions that could potentially remove query strings from URLs? Could you try doing it on another browser/device?
Author

I've tried it on vivaldi, chromium, and firefox, regular and private browsing in each. firefox and chromium have no extensions.

I've tried it on vivaldi, chromium, and firefox, regular and private browsing in each. firefox and chromium have no extensions.
Author

in my latest attempt, I tried to click the redirect manually instead of waiting for it to navigate automatically, and got this (url: https://codeberg.org/user/oauth2/GitHub/callback?code=<hex string>&state=<uuid>):

image

in my latest attempt, I tried to click the redirect manually instead of waiting for it to navigate automatically, and got this (url: `https://codeberg.org/user/oauth2/GitHub/callback?code=<hex string>&state=<uuid>`): ![image](/attachments/48962a7d-5ff4-46ea-beb8-59f0a1817b53)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#2366
No description provided.