bug: changing github email address makes you lose access to zen #1827

Open
opened 2026-02-16 17:32:49 -05:00 by yindo · 1 comment
Owner

Originally created by @rselbach on GitHub (Sep 25, 2025).

Originally assigned to: @fwang on GitHub.

If you use Github Login to authenticate to opencode and subsequently change your primary email address on Github, you lose access to your OC account.

I suspect the account linking in opencode is being done over the email address, and not the Github user ID. Ideally, the link from the opencode account to the Github account would be over the Github ID, but if not possible, a way to recover access to the account would be nice.

(Workaround: change the email address back so you can at least disable billing on the lost account; but it might not be possible for people who change jobs, etc)

Originally created by @rselbach on GitHub (Sep 25, 2025). Originally assigned to: @fwang on GitHub. If you use Github Login to authenticate to opencode and subsequently change your primary email address on Github, you lose access to your OC account. I suspect the account linking in opencode is being done over the email address, and not the Github user ID. Ideally, the link from the opencode account to the Github account would be over the Github ID, but if not possible, a way to recover access to the account would be nice. (Workaround: change the email address back so you can at least disable billing on the lost account; but it might not be possible for people who change jobs, etc)
yindo added the zen label 2026-02-16 17:32:49 -05:00
Author
Owner

@rekram1-node commented on GitHub (Sep 25, 2025):

good callout here, definitely should be addressed.

Thanks for raising

@rekram1-node commented on GitHub (Sep 25, 2025): good callout here, definitely should be addressed. Thanks for raising
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1827