express-openid-connect
express-openid-connect copied to clipboard
Multi tenant usage of auth()
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.