Skip to content

Bug: OAuth login fails with {"error":"未找到授权码 #48572

Closed as not planned

Description

@liangsurfer-stack

Description

Bug: OAuth login fails with {"error":"未找到授权码。","cause":{"error":"server_error","error_description":"Invalid email"}}
Environment: opencode.ai web login page
Issue reproduce:

  1. Tried GitHub OAuth with verified primary outlook.com email, granted email read permission.
  2. Tried Google OAuth with brand new personal gmail wyattliang2013@gmail.com.
    Both failed with exactly same error.
    Browser: Chrome incognito mode, no extensions, no adblock/proxy.
    Observation: OAuth authorization step succeeds, callback fails.
    Email addresses are valid, no + alias, not workspace / noreply address.
    This error happens when trying to create new account.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Sep 11, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review those issues and add any additional details there rather than filing a new report, or let a maintainer know if your situation differs.

  2. neriousy commented on Oct 21, 2026

    @neriousy
    Member

    Thanks for reporting this. Include the email you tried to sign up with, and the time you tried.

    Please email help@anoma.ly with your workspace ID and a link to this issue and the team will sort it out. Billing, payment and account problems need to be looked at against your account, which we can't do on a public issue tracker. Closing this because there's been no activity for a while, and it may already be resolved. If you still need help, email help@anoma.ly or comment here and we'll reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions