MongoDB Realm all users automatically loggingout after deployment

Viewed 20

I am using MongoDB Realm for authentication in my Rest API writen in node js.

When I do the deployment that Realm authorization token getting expired for all the users. My assumption is MongoDb Realm is creating temp files inside the application directory and using that for authorization. Users are getting logged out because of this files are getting deleted during the deployment.

If anyone has some idea please help me out

Are this temporary files needed? enter image description here

0 Answers
Related