Okta Policy Configuration: Session Length, Shared Accounts, and Phone MFA
By Ryan
Three Okta policy settings shape how your team signs in every day: how long a session lasts, how a shared login is handed out, and whether phone codes count as a second factor. Configuring all three in Okta Identity Engine gives every employee a predictable sign-in, keeps shared credentials in one managed place, and puts stronger authenticators first, whether the org has five users or 120.
What You Gain From Tuning These Policies
- Session lengths that match the sensitivity of the apps behind them
- Shared accounts, such as a company social media login, that assigned people open from their Okta dashboard
- One place to change a shared password, instead of copies in chat threads and spreadsheets
- Phone codes available as a backup or recovery method while stronger authenticators handle daily sign-in
Before You Start
How ScaleIT handles this: See how compliance works
- An Okta admin account with access to the Security and Applications menus
- A list of the shared accounts you want to manage in Okta and the people who need each one
- A telephony provider connected to Okta, which Okta requires before phone or SMS authentication works
- At least one stronger authenticator enabled, such as an authenticator app, email magic link, or a passkey
Set Session Length
- In the Admin Console, go to Security โ Global Session Policy.
- Select the policy you want to change.
- Select Add rule and enter a Rule name.
- Set the conditions for the users or groups the rule covers.
- Under Maximum Okta global session lifetime, choose Set time limit, enter a number, and choose Minutes, Hours, or Days.
- Select Create Rule.
- To change Maximum Okta global session idle time, edit the default rule of the default policy, which is the only rule where the idle setting can be changed.
Okta reserves No time limit for low-risk use cases and advises against pairing it with behavior or risk conditions. Give admin groups their own rule with a shorter lifetime, and note that Okta never sets persistent session cookies for admins.
Set Up a Shared Account
- In the Admin Console, go to Applications โ Applications and open the app integration, or create it as a Secure Web Authentication (SWA) app.
- Open the Sign On tab.
- Choose Users share a single username and password set by administrator.
- Enter the shared username and password, then save.
- Assign the app to each person or group that needs the account.
When someone with access leaves, change the shared password once in Okta and every assigned user picks up the new credential.
Configure Phone MFA
- In the Admin Console, go to Security โ Authenticators.
- On the Setup tab, select Add Authenticator.
- Select Add on the Phone tile.
- Under User can verify with, choose SMS, Voice call, or both.
- Under This authenticator can be used for, choose Authentication and recovery or Recovery in password policy rules.
- Select Add.
- Open the Enrollment tab to add the phone authenticator to your enrollment policy.
Points to plan around:
- Okta states that a phone code is not a guaranteed way to verify identity, so require a stronger authenticator alongside it
- Recovery in password policy rules keeps phone for account recovery only
- SMS works with mobile numbers only, while voice calls also accept landlines and extensions
- A code stays valid for five minutes, and after five wrong entries Okta invalidates it and the user can request a new one right away
- Check existing policies before you edit or delete the authenticator, since they may depend on it
Keep the Policies Current
- Review session rules whenever you add sensitive apps or new admin groups
- Add shared-password changes to your offboarding checklist
- Confirm who is assigned to each shared app during access reviews
ScaleIt configures and maintains Okta session, shared-account, and MFA policies as part of managed IT support for startups and SMBs. Book a free call and we will tune your Okta policies to the way your team works.
Verified against Okta Identity Engine on 2026-10-23. Vendor docs: https://help.okta.com/oie/en-us/content/topics/identity-engine/policies/add-okta-sign-on-policy-rule.htm, https://help.okta.com/oie/en-us/content/topics/identity-engine/authenticators/configure-phone.htm, https://help.okta.com/oie/en-us/content/topics/apps/apps_overview_of_managing_apps_and_sso.htm, https://support.okta.com/help/s/article/configure-a-shared-account-for-multiple-okta-users-to-access-an-application-using-swa.