EntraID
# support
d
I'm trying to use Vapi with Entra ID. In postman everyhting works. In vapi i create the creditions in integrations. I try to use the integration in like a just a users call and the error I get is empty token error on a 401 request. is ther a sample config document?
v
Here’s a sample Vapi OAuth 2.0 credential config you can adapt for Entra ID (Azure AD):
Copy code
json
{
  "server": {
    "url": "https://your-api-endpoint.com/webhook",
    "credentialId": "cred_your_oauth2_id"
  }
}
In the Vapi dashboard, create an OAuth 2.0 credential with your Entra ID token URL, client ID, and client secret, then reference its
credentialId
as above. Make sure your Entra ID token endpoint and credentials are correct—an "empty token" 401 error usually means the token request failed or returned nothing. See more: [Vapi Server Authentication Guide](https://docs.vapi.ai/server-url/server-authentication#reference-in-server-configuration) Source: - [Server authentication](https://docs.vapi.ai/server-url/server-authentication#reference-in-server-configuration)
d
so where do I put his in as an example for a tool? I don't see where I put code in.
4 Views