<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Customize the On Demand User TTL Setting for an ASA Project
Advanced Server Access
Okta Classic Engine
Okta Identity Engine
Overview

This article describes how to customize the On-Demand User TTL setting for an Advanced Server Access (ASA) Project.

Applies To
  • Advanced Server Access (ASA)
Solution

From the ASA Admin dashboard, the On Demand User TTL setting duration is hard-coded with the pull-down menu offering 1 hr, 1 day, 14 days, 30 days, and 90 days.

If customized TTL settings are needed, then the ASA API "Update" endpoint can be used to customize this setting: 

PUT https://app.scaleft.com/v1/teams/${team_name}/projects/${project_name}
  • Set  user_on_demand_period in the PUT request.

For example, if a 4-hour TTL duration needs to be set, then the value is 14400 in seconds:

curl -v -X PUT <br>-H "Authorization: Bearer ${jwt}" <br>--data '{ "user_on_demand_period": 14400 }' <br>https://app.scaleft.com/v1/teams/${team_name}/projects/${project_name}
HTTP 204 No Content

Once the time limit is reached the users session will be terminated since the user gets deleted from the server.

 

Related References

Loading
How to Customize the On Demand User TTL Setting for an ASA Project