Parse user login

I have an own deployed parse server, and also have an android client app. For security, I use ParseUser.login to restrict client access to database. ParseUser needs to login every time that app starts, if not, client can’t access data. But it’s annoying somehow for the client. Internet access is required every time to open the app and offline features are actually disabled. Finally my question is what should I do to avoid logging in every time? Is it a server side configuration or I should do something in client?

In the client side you could check if the user is already logged in and do not require him to log-in again using the currentUser object:

1 Like