How long a session lasts when authenticating a federated user
Written by
Updated at December 17, 2025
Case description
You need to figure out the maximum Cookie lifetime when setting up a federation.
Solution
The maximum session lifetime is 12 hours. You cannot increase it but you can use the Mandatory re-authentication (ForceAuthn) in IdP option. If enabled, the IdP will request the user to re-authenticate once the Yandex Cloud session expires.
You can learn more about the changes in Creating a federation in your organization here: