express-openid-connect icon indicating copy to clipboard operation
express-openid-connect copied to clipboard

Multi tenant usage of auth()

Open cpereyra5199 opened this issue 3 years ago • 0 comments

Describe the problem you'd like to have solved

When redirecting to my server using the address bar, the auth flow functions as expected. However, when using a link that points the same server url I type into the address bar, the auth flow returns an error

BadRequestError: checks.state argument is missing at /Users/carlospereyra/esm-api/node_modules/express-openid-connect/middleware/auth.js:121:19 at processTicksAndRejections (internal/process/task_queues.js:95:5)

Describe the ideal solution

Auth flow should behave the same whether flow is triggered from a link or directly from a server.

cpereyra5199 avatar Aug 06 '22 07:08 cpereyra5199