Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need option to perform Logout from all other devices #3779

Open
StarrySite opened this issue Dec 3, 2024 · 1 comment
Open

Need option to perform Logout from all other devices #3779

StarrySite opened this issue Dec 3, 2024 · 1 comment

Comments

@StarrySite
Copy link

StarrySite commented Dec 3, 2024

Please fill out the following details:

We need a feature to logout the user from all the devices in which he/she has logged in already. With the help of Salesforce SDK, we are able to logout the user from currently logged in device. As per our business requirements (like many other websites/apps already do), we need to provide the following 2 options to the user when they want to logout.

   1. Logout
   2. Logout from all the devices

Could you please guide us how to do the 2nd operation with current SDK? or Kindly let us know this functionality will be implemented in future releases of SDK?

  1. Version of Mobile SDK Used: 11.1.0
  2. Issue found in Native App or Hybrid App: Native app
  3. OS Version: iOS 18
  4. Device: iPhone
  5. Steps to reproduce:
  6. Actual behavior: We can perform only Logout action
  7. Expected Behavior: We need to Logout from all the active devices as well
  8. Error Log: NA
@wmathurin
Copy link
Contributor

In essence, what you want is the ability to revoke all the refresh tokens of the current user for the current connected app. The current auth API that Salesforce provides only allows revoking the refresh token you currently have. We made a note of your enhancement request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants