Next.js - 400 Error: "Callback handler failed. CAUSE: Missing state parameter in Authorization Response"
Last Updated:
Overview
With the Next.js SDK, a 400 error occurs on the callback with the following error description:
"Callback handler failed. CAUSE: Missing state parameter in Authorization Response".
This error only occurs on login attempts with the application deployed and does not occur locally.
Applies To
- nextjs Callback
Cause
Missing state parameter in Authorization Response means that the Next.js SDK cannot find any query parameters on the callback request.