Sign-in broken after GitHub username change #91

Open
opened 2026-02-15 17:15:38 -05:00 by yindo · 2 comments
Owner

Originally created by @baseddesigner on GitHub (Feb 7, 2026).

Bug Report

Summary: After changing my GitHub username, I can no longer sign in to clawhub.ai.

Steps to reproduce:

  1. Sign in to clawhub.ai with GitHub account (original username)
  2. Change GitHub username on github.com
  3. Attempt to sign in to clawhub.ai again with the same GitHub account (new username)

Expected behavior: Sign-in should still work since the GitHub account (user ID) is the same — only the username changed.

Actual behavior: Sign-in fails / does not recognize the account.

Likely cause: The auth system may be keying on the GitHub username string rather than the stable GitHub user ID (id field from the GitHub API). When a user renames their account, the username changes but the numeric user ID stays the same.

Suggested fix: Use the GitHub user ID (numeric, immutable) as the primary identifier for account lookup, and treat the username as a display field that gets updated on each sign-in.


Filed via Claude Code on behalf of a clawhub.ai user.

Originally created by @baseddesigner on GitHub (Feb 7, 2026). ## Bug Report **Summary:** After changing my GitHub username, I can no longer sign in to clawhub.ai. **Steps to reproduce:** 1. Sign in to clawhub.ai with GitHub account (original username) 2. Change GitHub username on github.com 3. Attempt to sign in to clawhub.ai again with the same GitHub account (new username) **Expected behavior:** Sign-in should still work since the GitHub account (user ID) is the same — only the username changed. **Actual behavior:** Sign-in fails / does not recognize the account. **Likely cause:** The auth system may be keying on the GitHub username string rather than the stable GitHub user ID (`id` field from the GitHub API). When a user renames their account, the username changes but the numeric user ID stays the same. **Suggested fix:** Use the GitHub user ID (numeric, immutable) as the primary identifier for account lookup, and treat the username as a display field that gets updated on each sign-in. --- *Filed via Claude Code on behalf of a clawhub.ai user.*
Author
Owner

@clawtter commented on GitHub (Feb 9, 2026):

@baseddesigner still having this issue? because I am.

@clawtter commented on GitHub (Feb 9, 2026): @baseddesigner still having this issue? because I am.
Author
Owner

@chenyuan99 commented on GitHub (Feb 11, 2026):

I had a PR #179 to fix this #170

@chenyuan99 commented on GitHub (Feb 11, 2026): I had a PR #179 to fix this #170
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#91