Linking Github account fails, redirects to homepage #2366
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#2366
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?
Comment
in security settings, if I click "link account" and choose "Github", then click "authorize" in the oauth prompt:

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

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?
I've tried it on vivaldi, chromium, and firefox, regular and private browsing in each. firefox and chromium have no extensions.
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>):