We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b352538 commit 6fa3a37Copy full SHA for 6fa3a37
packages/npm/@amazeelabs/publisher/src/server.ts
@@ -222,7 +222,11 @@ const runServer = async (): Promise<HttpTerminator> => {
222
223
// Check if the state matches.
224
if (!stateMatches(req)) {
225
- return res.status(500).json('State does not match.');
+ return res
226
+ .status(400)
227
+ .json(
228
+ 'State does not match. Check if the Drupal Consumer entity redirect URI is properly set.',
229
+ );
230
}
231
232
const { code } = req.query;
0 commit comments