Ngrok fails to maintain the users' Sessions in Python Flask

Keywords: python-3.x flask ngrok

Question: 

I am using Flask Sessions in my Python 3.6 code to store users information. The site is working great when testing it locally and I am able to retrieve the information stored in the session. However, when I run my app and use ngrok (the latest version), the session keeps resetting on every request (i.e., each request is being seen as a new session).

What makes me sure that the issue is from ngrok, is that I am able to retrieve all the stored information in the session if I am calling the app on 127.0.0.1:1234.

Does anyone face the same issue?

Thanks

Answers: