Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

User authentication client side storage

$
0
0

@elduderino15 wrote:

I am thinking to extend my ionic app with a user login frontend and data backend. Right now, I am saving all user data in Localstorage . This has proven as bad because Localstorage can be erased on seemingly random occasion by the OS when it runs on low memory / storage. Had some frustrated users due to this. :stuck_out_tongue:

I tried the cordova file plugin, but they do not work well, and sooner or later I would have to move to user auth anyhow.

So, what is the best solution client side to store auth data? I do not want users to enter credentials every time the app starts. Where should I store the user name / password other than Localstorage - since that, as mentioned above, can be erased by the OS. Cordova file plugins currently do not perform well for me, so I will not go for files...

Cookies?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>