Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
how to implement logout functionality in remote hybrid app using logout button ?
my button show alert message but not logout the app.
asked Sep 23, 2015 at 11:28
1311 silver badge66 bronze badges
If you are using SalesforceSDK you can write custom method to logout
var sfOAuthPlugin = cordova.require("com.salesforce.plugin.oauth");
This method logouts current user.It will securly loggedout the user and flush the stored access and refresh token
answered Jul 27, 2016 at 14:25
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged