Skip to main content

AADSTS7000218: Token request has no client assertion or secret

The token request has no client assertion or secret.

What to check​

  1. For a confidential client, send the credential configured for the app. For a public client, check that the platform and flow are configured as public.

Official reference​

Microsoft Learn: AADSTS error codes

Microsoft error lookup​

Message summary: The lookup names two acceptable parameters for client authentication: client_assertion or client_secret.

Microsoft remediation: The app developer should check that the request supplies the authentication parameters the flow expects and that each value is correct.

Open AADSTS7000218 in Microsoft’s lookup