Auto Login

Hello,
I am wanting to create an app, but for ease of use purposes, I want every time I opem the app to already be logged in.

Is this possible?

Thanks,
Tyler

Hi @Tyler_Scott ,

Yes, it is possible. By default user sessions do not have expiration time. After user login, obtained user auth token will be stored in the browser data storage and will be reused when app is opened again in the same browser.

Regards, Andriy

@Andriy_Konoz
So if I go out of the app wait a couple of days, then go back on it, it will be on the same page that I was last on?

Can I change it to a defult page once the app is closed?

Thanks,
Tyler

Hello @Tyler_Scott,

could you please clarify where you use your app - in the browser or is it installed on a mobile phone as a Native App?

Regards,
Stanislaw

Hello,
I am currently developing the app in the backendless editor (on browser) but plan to use as a native app.

Thanks,
Tyler

I think this case is under native platform control. For example most of android/ios devices will unload app from RAM after some time, and next start of app will be “clean”. But you still can handle “autologin” and some logic that will restore everything what were lost.

OK, thank you for clarifying.
Where to from here to solve the issue?

Hi @Tyler_Scott ,

Sorry for the long delay. Is problem still actual for you?

Regards, Andriy