tprouvot / Salesforce-Inspector-reloaded

Chrome extension to add a metadata layout on top of the standard Salesforce UI to improve the productivity and joy of Salesforce configuration, development, and integration.
https://chrome.google.com/webstore/detail/salesforce-inspector-relo/hpijlohoihegkfehhibggnkbjhoemldh
MIT License
221 stars 71 forks source link

[popup] Sign Out as User - Full Logout #617

Closed CMilnerHCSS closed 1 month ago

CMilnerHCSS commented 1 month ago

Description: After using Salesforce Inspector Reloaded (SIR) to log in as another user, when I log out as that user from the lightning banner, I am fully logged out of Salesforce even as myself. The security setting "Force relogin after Login-As-User" is not enabled and the same behavior does not occur if I navigate to a user record and log in as that user with the standard Salesforce functionality. The problem only exists when using SIR. Additionally, I did not have this issue on the original Salesforce Inspector extension.

Steps to Reproduce Steps to reproduce the behavior:

  1. Open SIR side panel.
  2. Click the 'Users" tab.
  3. Search for any internal user and click 'LoginAs'.
  4. Click 'Log Out as...' from the top banner.
  5. Refresh the page or attempt any navigation and a full logout occurs.

Expected Behavior: I should be logged out as the secondary user, but my main administrator user should remain logged in.

Screenshots: N/A

Desktop (please complete the following information):

Additional Context: N/A

tprouvot commented 1 month ago

Hi @CMilnerHCSS I can't reproduce this behaviour, for me it follows the option 'Force relogin after Login-As-User'

Are you experiencing this is other orgs ? You mention that you did not have this issue with OG version but have you retested it ?

2024-10-15_11-52-29 (1)

CMilnerHCSS commented 1 month ago

I can no longer replicate this after a browser restart, so I am going to chalk it up to something funky going on in the browser itself. Apologies for the false alarm. I tried just about everything except a browser restart before submitting this. Thanks for the quick response and for looking into this; please feel free to close this out!