Skip to content

OAuth flow returns token without roles/claims when connecting local Claude Code instance to dial mcp #1711

Description

@AnastasiiaHarkot

Name and Version

0.45.0

What steps will reproduce the bug?

When connecting a local Claude Code instance to a corporate integration (added as a toolset/MCP), the OAuth flow completes successfully (user authenticates), but the resulting access token doesn't include role claims. As a result, all subsequent requests requiring those roles fail.

  1. Use a local Claude Code instance.
  2. Add the corporate toolset/MCP integration.
  3. Complete the OAuth flow.
  4. Make any call that requires a role.

What is the expected behavior?

token contains the required roles; requests succeed.

What do you see instead?

authentication succeeds, roles are missing from the token, requests fail

Additional information

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions