For added security, you can set up session duration to limit how long your members are signed in to Slack.
How it works
When you set up session duration, you can choose to have members sign back in whenever they close Slack or after a certain time period.
To minimise disruption, you can warn your members before their sessions expire and give them the option to re-authenticate at that time. Members will be warned two hours before session expiration with a final reminder 15 minutes before they’re signed out.
Changes to session duration take effect on the day that you make them and will end member sessions randomly over the timeframe that you’ve selected. For example, if you set a session duration for seven days, session expirations will begin that day and continue gradually over the next seven days until all members have been signed out.
Note: On the Pro and Business+ subscriptions, session duration only applies to the Slack desktop app and browser. On Enterprise Grid, session duration can also apply to the Slack mobile apps.
Set up session duration
Pro and Business+ subscriptions
Enterprise Grid subscription
From your desktop, click your workspace name in the sidebar.
Hover over Tools & settings, then click on Workspace settings.
Click Authentication.
Next to Session Duration, click on Expand.
Choose to sign members out whenever they close Slack or after a set period of time.
If you’d like, choose to warn members when they’ll be signed out.
Click on Save.
From your desktop, click your organisation name in the sidebar.
Hover over Tools & settings, then click Organisation settings.
Click on Security in the left column, then select Security Settings.
Next to Session duration, click Enable.
Tick the box next to Sign users out on desktop or Sign users out on mobile.
Choose to sign members out whenever they close Slack or after a set period of time.
If you’d like, choose to warn members when they’ll be signed out.
Click on Save.
Tip: Use the session duration API to customise the session duration for a subset of members to be shorter or longer than your org-level session duration.