Closed rajcybage closed 8 years ago
OAuth2 (and thus omniauth-salesforce) cannot actually end your salesforce browser session. That's between Google Chrome (or IE ect) & Salesforce.com. All we can do is invalidate the refresh token that was issued as part of the OAuth2 process.
Thank you @realdoug
I have one Rails application where I am using salesforce omniauth
I am able to logout by making reset_session. But I am not completely logout from salesforce as when user again click login it will redirect to omniauth and login automatically.
I did below steps
gem 'omniauth-salesforce'
and model
I am new on salesforce omniauth. Please suggest how can I able to logout from my app as well as salesforce both.