background
← Back to all provider errors

Microsoft

invalid_request — Invalid request

Missing/invalid parameter or protocol error.

Riposte solution

The Azure AD token endpoint received a malformed request. Make sure Riposte's auth flow is being used correctly (it should handle the details). If you are customizing anything in the OAuth calls, ensure all required parameters (client_id, grant_type, etc.) are present and valid. Typically, sticking to Riposte's /auth/sessions and /auth/authorize flow prevents this error.

Quick facts

Provider
Microsoft
Endpoint / surface
Azure AD OAuth 2.0
Status code
400

Why it happens

[Missing required param; Malformed request]

How to fix it

[Fix and resubmit the request]