Skip to content

Authentication sporadically fails when postgres has a defined search path #4404

Answered by thetutlage
shaheedazaad asked this question in Help
Discussion options

You must be logged in to vote

This approach is buggy in first place, because Node.js can handle multiple requests in parallel and therefore the schema set by second first will overwrite the schema set by first request.

Also, it has nothing to do with Auth at all, you are overwriting global properties while handling concurrent requests

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shaheedazaad
Comment options

Answer selected by shaheedazaad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants