Non-google users need to login twice due to CSRF error

I am using flask and python3 to make my apps.

During testing on localhost on a windows pc, there were no issues with login.

After deploying on a Linode server ubuntu 20.04 there is an error on the first login attempt made by users.

Non-google users need to login twice. The first login attempt results in the following error: Mismatching_State: Csrf Warning! State Not Equal In Request And Response. I am using the auth0 dev keys, though I do not think this should make any difference.

An update to this, I removed the google-oauth option on the app and this did not solve the problem.

this is some error which only occurs when you deploy your code on a linux server I use Contabo and on it I got CSRF error

but on localhost it works
and I deployed my site on it worked no csrf error

PaaS platform have no issue with this
but if you use a linux server there comes a problem.
If your issue was fixed let me know