Creates a provider that verifies Auth0 access tokens and maps their claims.
Auth0 domain and resource-server settings.
A provider that rejects tokens not issued for the resolved MCP resource.
A TypeError if domain is not a valid HTTP or HTTPS URL.
TypeError
domain
import { oauthAuth0Provider } from "mcp-use/oauth/auth0";const oauth = oauthAuth0Provider({ domain: "https://example.us.auth0.com",}); Copy
import { oauthAuth0Provider } from "mcp-use/oauth/auth0";const oauth = oauthAuth0Provider({ domain: "https://example.us.auth0.com",});
Creates a provider that verifies Auth0 access tokens and maps their claims.