Auth0 callback endpoint redirect to login endpoint in GCP app engine

I’m using Auth0 with Node js. The callback endpoint always redirects to login even login was successful(logs prove it). My code perfectly works on the localhost dev environment. But when I deploy to the GCP app engine(node js), I got the issue that I mentioned here.