Brian Evans
Posts: 0
Joined: Mon Feb 03, 2014 9:28 pm

Login System

What's the best way to handle logging into the app using our websites API? I want to be able to have them login once and save the info to the phone and when the app is loaded grab what's on the phone to re-verify before proceeding.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Login System

Hello! "our websites API" - so you use your web site API? Save data (for example token you get while authorization) into localStorage and check if it's valid (if it has expiration time) using your site API.

mehtashail
Posts: 0
Joined: Tue Feb 04, 2014 1:29 am

Login System

Is there a way to encrypt this data when it is written to local storage ?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Login System

You could use any encryption JS library. For examlpe this one : https://code.google.com/p/crypto-js/

Return to “Issues”