{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":39069,"path":"platform-administration/managing-integration-sessions.md","title":"Managing integration sessions","bundle":null,"doc_type":null,"release":"australia","body":"\n# Managing integration sessions\n\nManage access to an instance by configuring how long integration sessions last before expiring.\n\nSimilar to user sessions, you can secure your instance by configuring when to time out an integration session after a period of inactivity and a maximum active session time. By default, integration session time out after five minutes of inactivity.\n\n**Parent Topic:**[Integration with third-party applications and data sources](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/c_IntegrateWThirdPartyAppsDataSrces.md)\n\n## Configure a maximum active time for integration sessions\n\nSecure your instance by enforcing a maximum time for sessions regardless of integration activity.\n\n### Before you begin\n\nRole required: admin\n\n### About this task\n\nBy default, sessions expire only after a period of inactivity. Enforcing a maximum active session time ends sessions regardless of if an integration has been active recently. The active session timeout should be greater than the value configured for the inactive session timeout. For example, if sessions are configured to time out after 30 minutes of inactivity, the active session timeout should be greater than 30 minutes.\n\n**Note:** Sharing a single service account across integrations and applications can prevent the system from enforcing maximum active session times. To resolve issues that keep sessions active, see the [Resolving Extended Session Duration and Performance Issues with Shared Service Accounts \\[KB1770913\\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1770913) article in the Now Support Knowledge Base.\n\n### Procedure\n\n1.  In the navigation filter, enter `sys_properties.list`.\n\n2.  Select **New**.\n\n3.  On the form, fill in the fields.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|`glide.active.session.timeout.invalidate.session`|\n    |Description|`Specifies whether integration sessions can be invalidated by configuring a maximum active session time.`|\n    |Type|**true \\| false**|\n    |Value|`true`|\n\n4.  Select **Submit**.\n\n5.  From the System Property \\[sys\\_properties\\] list, open the **glide.integrations.active.session.life\\_span** property.\n\n6.  In the **Value** field, enter the number of minutes before integration sessions time out regardless of user activity.\n\n    The value should be greater than the value of **glide.integration.session\\_timeout** for inactive integration session timeout. By default, the inactive session timeout for integration sessions is five minutes.\n\n7.  Select **Update**.\n\n\n### Result\n\nIntegrations are logged out of the instance after the time specified and their credentials must be entered again to access the instance. This setting helps secure an instance using integrations, such as the REST API.\n\n**Related topics**  \n\n\n[Configure a maximum active time for user sessions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/user-administration/c_ManageUserSessions.md)\n\n## Modify integration session timeout after inactivity\n\nSpecify when to time out integration sessions after a period of inactivity.\n\n### Before you begin\n\nRole required: admin\n\n### About this task\n\nBy default, after one minute of inactivity, the platform ends an integration session and logs the user out automatically.\n\n### Procedure\n\n1.  In the navigation filter, enter `sys_properties.list`.\n\n2.  Select **New**.\n\n3.  On the form, fill in the fields.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|`glide.integration.session_timeout`|\n    |Description|`Sets the inactive session timeout for integration sessions, in minutes.`|\n    |Type|**string**|\n    |Value|Specify the number of minutes.|\n\n4.  Select **Submit**.\n\n\n**Related topics**  \n\n\n[Modify user session timeout after inactivity](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/user-administration/c_ManageUserSessions.md)\n\n"}}