SSO Session Max Feature

I am looking for something similar to SSO Session Max configuration from https://wjw465150.gitbooks.io/keycloak-documentation/server_admin/topics/sessions/timeouts.html
where after N hours regardless of if the session is active, a user will be forced to re-login

Hi @yikshiungy,

You can do this via API. Please take a look at (maxSessionLifetimeMinutes) :
https://developer.okta.com/docs/reference/api/policy/#signon-action-example

Thank you.

1 Like