Skip to content

Claude Pro/Max auth flow returns Invalid token. #18315

@heesungjang

Description

@heesungjang

Description

Hi, I’ve been getting a “Failed refresh token” error since this morning. I’ve tried reinstalling Opencode and clearing the cache, but the issue still persists.

I then attempted to reconnect the provider using the Claude Pro/Max auth flow, but now it returns an “Invalid Token” error.

I’m wondering whether this is an issue with my local environment or a bug.

Plugins

No response

OpenCode version

1.2.27

Steps to reproduce

  1. Connect using Claude Pro/Max auth flow.
  2. Click auth link
  3. Copy auth token and paste into dialog.

Screenshot and/or share link

No response

Operating System

macOS 26.2 (25C56)

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions