Adjust Salesforce Session Timeout
the connection between unaric sidebar and salesforce uses salesforce's standard oauth and session security after a set period, salesforce expires your session (and its access token), requiring you to sign in again this is expected behaviour, and it is controlled entirely by the session and oauth settings in your own salesforce org, not by unaric sidebar this page explains how to set up the session timeout between unaric sidebar and salesforce this is helpful in case you're being prompted to sign in more often than you would like or, in turn, you would prefer to tighten security and have your users re authenticate sooner requirements you need administrator access to your salesforce org decide on the duration you want longer sessions mean fewer login prompts but lower security; shorter sessions are more secure but ask users to sign in more often option 1 set the timeout on the app use this when you want to control the timeout for this specific integration in salesforce, open setup navigate to apps > connected apps > manage connected apps find ienterprises and click edit click edit policies under session policies , click set app specific token timeout use the dropdown to choose a convenient duration (for example 15 minutes , 2 hours , or 24 hours ) click save to finish if timeout value is left as none , the app falls back to your org wide session settings instead see option 2 option 2 set the org wide session settings use this when the app relies on your org's default, or when you want to change the timeout for the whole org this value applies across your org wherever a more specific setting is not in place in salesforce, go to setup navigate to security > session settings in the session timeout section, use the timeout value dropdown and choose a convenient duration click save you can see which sessions are currently active and remove them at setup > session management troubleshooting users are still logged out sooner than the value i set a profile level setting may be overriding the org default in setup , go to profiles , open the relevant profile, and check session settings > session times out after a value set here overrides your org wide session settings for users with that profile where does the timeout come from if the app's value is none? salesforce falls back to your org wide session settings (option 2), unless a profile level override applies users have to fully sign in again instead of the connection refreshing quietly alongside the timeout, salesforce uses a refresh token policy to decide whether the connection can renew automatically when a session ends if that policy is set to expire quickly, users are asked to sign in more often you can review it under the app's oauth policies (the same place as option 1); the default of refresh token is valid until revoked keeps users signed in until access is explicitly removed