-
Notifications
You must be signed in to change notification settings - Fork 345
MCP server OIDC auth fails with Entra ID v2 (AADSTS9010010) #2466
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Configuring the MCP server with Microsoft Entra ID (Azure AD) as the OIDC provider fails during the OAuth authorization step with:
AADSTS9010010: The resource parameter provided in the request doesn't match with the requested scopes.
To reproduce
- Configure Tracecat with OIDC_ISSUER=https://login.microsoftonline.com/{tenant}/v2.0
- Start the MCP server
- Initiate OAuth from an MCP client
- Authorization redirect to Entra fails with AADSTS9010010
Screenshots
Environment (please complete the following information):
- Tracecat
1.0.0-beta.36 - OS
Debian 12 - Where did you deploy Tracecat? VM/Docker
- CPU architecture
- Browser type (e.g. Chrome, Safari, Edge, etc.) and version
- Docker / Podman version
Docker version 28.3.2, build 578ccf6 - Docker Compose / Podman Compose version
Additional context
I did some poking around with Claude to figure out where the issue originates and I believe its related to fastmcp passing the resource parameter from the client.
The Azure issue and fix is detailed here: PrefectHQ/fastmcp#1846
A more generic fix looks like it was added recently but likely isn't in the version of fastmcp currently in use: PrefectHQ/fastmcp#3711
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working