Skip to content

OAuth authentication fails - redirect URI not supported by client #41

@Sorka1

Description

@Sorka1

Description

After installing the Claude Terminal add-on and opening the terminal, I receive a link for authentication. When I copy and paste this link into my browser, I see the Claude authorization window. However, when I click "Authorize," nothing happens.

Error Details

Browser inspection shows the following errors:
[Error] Failed to load resource: the server responded with a status of 400 () (authorize, line 0)
[Error] [REACT_QUERY_CLIENT] – "QueryClient error:"
Error: Redirect URI https://platform.claude.com/oauth/code/callback is not supported by client.

Environment

  • Home Assistant OS (or your specific installation type)
  • Browser: (Chrome/Firefox/Safari - whichever you use)
  • I have an active Claude Pro subscription

Steps to Reproduce

  1. Install the Claude Terminal add-on
  2. Start the add-on and open the terminal
  3. Copy the authentication link provided in the terminal
  4. Paste it into a browser
  5. Click "Authorize" on the Claude authorization page
  6. Nothing happens - button appears to work but authorization doesn't complete

Expected Behavior

Clicking "Authorize" should complete the OAuth flow and authenticate the CLI.

Additional Context

The error suggests that the redirect URI https://platform.claude.com/oauth/code/callback is not registered as a valid callback URL for the OAuth client being used by Claude Code CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions