Is there a declarative way to log a user out of their session using a flow, or is a Visualforce page the only way to go about it?

1 Answer 1


Someone had a similar question where someone wanted to use flow to force a logout: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_logout.htm

Here is the developers guide on a logout call: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_logout.htm

Users can be logged out of a session by using OOB security functionality found in Setup -> Session Settings

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .