Docs

Connect your app to Instagram

Configure Session Lifetime Settings

This guide will show you how to configure session settings for your tenant using Auth0's Management API. This task can also be performed using the Dashboard.

  1. Make a PATCH call to the Tenant Settings endpoint. Be sure to replace MGMT_API_ACCESS_TOKEN, SESSION_LIFETIME, and IDLE_SESSION_LIFETIME placeholder values with your Management API Access Token, session lifetime value, and idle session lifetime value, respectively.



Value Description
MGMT_API_ACCESS_TOKEN Access Token for the Management API with the scope update:tenant_settings.
SESSION_LIFETIME_VALUE Timeframe (in hours) after which a user's session will expire if they haven’t interacted with the Authorization Server. Will be superseded by system limits if over 72 hours (3 days) for self-service plans or 2,400 hours (100 days) for enterprise plans.
IDLE_SESSION_LIFETIME_VALUE Timeframe (in hours) after which a user will be required to log in again, regardless of their activity. Will be superseded by system limits if over 720 hours (30 days) for self-service plans or 8,760 hours (365 days) for enterprise plans.