You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got quite a few of those errors happening in production. Weirdly, when i try to login every method works fine as well as I've seen bunch of people logging properly, so i think it's only affecting fraction of users.
i've seen #467 but that issue seems to be for very specific case, where I see small chance of my users actually ending up in this scenario. Not in those numbers ( happened 3-4 times for 12 registrations )
BadRequestError: checks.state argument is missing\n at ResponseContext.callback (/var/app/current/node_modules/express-openid-connect/lib/context.js:354:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)"
Is it a bug?
Any idea why is it happening? ( what user actions cause it )
How to deal with it?
How to catch it? Seems check if for message and BadRequestError? I understand BadRequestError can happen in a lot more cases than only this.
I can only find it in logs, I didn't experience it happening while I was testing so reproducing is pretty much game of numbers, or some particular emails or something like that.
express-openid-connect version
2.16
Express version
5
Node.js version
18
The text was updated successfully, but these errors were encountered:
How to catch it? Seems check if for message and BadRequestError? I understand BadRequestError can happen in a lot more cases than only this.
How to deal with it on UX side.
BadRequestError just means that the the client is making a bad request and the server can't log the user in. All you can do is prompt the user to try to login again (and also debug the underlying issue using the links I shared)
Checklist
Description
Got quite a few of those errors happening in production. Weirdly, when i try to login every method works fine as well as I've seen bunch of people logging properly, so i think it's only affecting fraction of users.
i've seen #467 but that issue seems to be for very specific case, where I see small chance of my users actually ending up in this scenario. Not in those numbers ( happened 3-4 times for 12 registrations )
Is it a bug?
Any idea why is it happening? ( what user actions cause it )
How to deal with it?
Reproduction
Pretty standard auth0 express backend app.
Additional context
I can only find it in logs, I didn't experience it happening while I was testing so reproducing is pretty much game of numbers, or some particular emails or something like that.
express-openid-connect version
2.16
Express version
5
Node.js version
18
The text was updated successfully, but these errors were encountered: