opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Issue with GitHub Login for OpenCode Authentication

Open Yassiinee opened this issue 1 month ago • 3 comments

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)

Yassiinee avatar Nov 24 '25 08:11 Yassiinee

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

fwang avatar Nov 24 '25 14:11 fwang

hello @fwang ,

URL: https://opencode.ai/auth/callback?code=9b2de703-adfc-4c99-91a1-4298b23aebc4&state=7894afec-ffdb-4049-a782-e93287ccf5a6

Image

Yassiinee avatar Nov 24 '25 16:11 Yassiinee

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

fwang avatar Dec 04 '25 23:12 fwang