Is this scenario possible using the Salesforce SDK for iOS?

  1. User logs in while online, data sync occurs, user works with app.
  2. User logs out
  3. User wants to log back in when offline.

Is it possible to set up the authentication in such a way that it allows to login without re-authenticating against Salesforce?

  • I am facing same issue , Please let me know if you got any solution of above issue – Santu C Jul 28 '15 at 10:02

There's no way to use Salesforce authentication while offline so if you want to secure access to offline data you'll need to roll your own. One method might be to get the user to enter a PIN number after they've logged in the first time online, and then use that to allow or deny access to data in the app when they're offline.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.