Does dreamfactory have a api/method to refresh the session/token? I’m working on an android app and wanted a feature that allows user to authenticate only once. Then succeeding use of the app, users should not have to login with their username and password again. The client can just refresh the session/token whenever it expires or becomes invalid.
I noticed while playing around with the /rest/user/session api is that there is a duration value passed. I can probably set this to a million or something to keep the user authenticated for a long time but I’m not sure if this is the right way to do it.
Appreciate your feedback.