Issue with GitHub Login for OpenCode Authentication #3082

Open
opened 2026-02-16 17:38:32 -05:00 by yindo · 3 comments
Owner

Originally created by @Yassiinee on GitHub (Nov 24, 2025).

Originally assigned to: @fwang on GitHub.

Description

Hello,

I'm currently encountering an issue while trying to authenticate through GitHub on opencode.

After clicking on "Continue with GitHub" and accepting the permissions, I am redirected to a screen that seems to not complete the login process:

Image

I expect to be logged in successfully and redirected to the next step in the authentication process where I can paste my API key.

Additional Information:

Browser: Chrome
OS: Windows 10 Enterprise

Could someone please look into this issue.

Thanks in advance for your help!

OpenCode version

1.0.107

Steps to reproduce

  1. Go to https://opencode.ai/auth
  2. Click "Continue with GitHub"
  3. Accept the required permissions on GitHub
  4. Encounter an issue where the login process doesn’t complete

Screenshot and/or share link

No response

Operating System

Windows 10 Enterprise

Terminal

Command Prompt (Windows Terminal)

Originally created by @Yassiinee on GitHub (Nov 24, 2025). Originally assigned to: @fwang on GitHub. ### Description Hello, I'm currently encountering an issue while trying to authenticate through GitHub on opencode. After clicking on "Continue with GitHub" and accepting the permissions, I am redirected to a screen that seems to not complete the login process: <img width="581" height="241" alt="Image" src="https://github.com/user-attachments/assets/c0f571a9-f325-4b26-beab-2a2cd4fd54e7" /> I expect to be logged in successfully and redirected to the next step in the authentication process where I can paste my API key. Additional Information: Browser: Chrome OS: Windows 10 Enterprise Could someone please look into this issue. Thanks in advance for your help! ### OpenCode version 1.0.107 ### Steps to reproduce 1. Go to https://opencode.ai/auth 2. Click "Continue with GitHub" 3. Accept the required permissions on GitHub 4. **Encounter an issue where the login process doesn’t complete** ### Screenshot and/or share link _No response_ ### Operating System Windows 10 Enterprise ### Terminal Command Prompt (Windows Terminal)
yindo added the bugzen labels 2026-02-16 17:38:32 -05:00
Author
Owner

@fwang commented on GitHub (Nov 24, 2025):

@Yassiinee what's the url you are on when u get the above error? Also does google login work for u?

@fwang commented on GitHub (Nov 24, 2025): @Yassiinee what's the url you are on when u get the above error? Also does google login work for u?
Author
Owner
@Yassiinee commented on GitHub (Nov 24, 2025): hello @fwang , URL: https://opencode.ai/auth/callback?code=9b2de703-adfc-4c99-91a1-4298b23aebc4&state=7894afec-ffdb-4049-a782-e93287ccf5a6 <img width="967" height="274" alt="Image" src="https://github.com/user-attachments/assets/3f35620b-5ddd-4ada-835b-411c6a8dbead" />
Author
Owner

@fwang commented on GitHub (Dec 4, 2025):

@Yassiinee we fixed something on the auth side. Do you still get the error?

@fwang commented on GitHub (Dec 4, 2025): @Yassiinee we fixed something on the auth side. Do you still get the error?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3082