Switch account via Google returns 404 at /sessions/verified-device/mobile?auto=true for accounts created via GitHub Mobile that never logged in on the web #210273
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Analysis & WorkaroundThanks for the detailed bug report! This is a known edge case affecting accounts created exclusively via the GitHub Mobile app. What's Happening:When switching accounts via "Continue with Google," GitHub's authentication flow checks where the account was first created. For accounts registered through GitHub Mobile, the system attempts to redirect to When accessed from a desktop browser, this endpoint returns 404 since it expects a mobile app context, not a web browser. Why This Occurs:
Recommended Workarounds:Option 1 (Quick Fix):
For GitHub Product Team:This should be fixed by either:
|
|
Thanks for the suggestions. To clarify, this is a bug report rather than a request for a workaround: a desktop browser being redirected to /sessions/verified-device/mobile?auto=true and landing on a 404 with no way forward shouldn't happen regardless of how the account was created. I couldn't find any documentation about a "known edge case" for this. If you have a link, please share it. I've also reported this to GitHub Support. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Other
Body
Summary
Switching accounts via "Continue with Google" on github.com returns a 404 at /sessions/verified-device/mobile?auto=true when the target account was created in the GitHub Mobile app and has never logged in on the web. Expected a valid verification step or a fallback to another method.
Account B details
Steps to reproduce
Preconditions:
Steps:
Create account B in the GitHub Mobile app.
On github.com (desktop browser), log in to account A.
Click the profile avatar (top right) → "Switch account" → "Add account".
Click "Continue with Google" and choose the Google account tied to account B.
Observe: the browser lands on
https://github.com/sessions/verified-device/mobile?auto=true
and shows the 404 page ("This is not the web page you are looking for").
Expected: a valid verification step, or a fallback to another method.
Actual: 404, and no way to continue.
Reproducibility
2 out of 2 attempts with a freshly created account B.
Environment
All reactions