I have a next.js auth0 application hosted on netlify. around 70-80% of the time authentication flow works fine but 10-20% of the time are we are getting invalid_grant (Failed to verify code verifier) or checks.state argument is missing .
I looked into the previous questions asked here but they were not helpful