Identity domain session settings in IAM include setting the session duration; the URLs for login, logout, errors, and social callback; the authentication flow for accessing an identity domain, such as keeping the user signed in; and CORS settings.
-
Open the navigation menu and click Identity & Security.
Under Identity, click Domains.
-
Click the name of the identity domain that you want to work in. You might need to change the compartment to find the domain that you want.
-
On the domain details page, click Settings.
-
On the Settings page, click Session settings.
-
Set session limits.
-
To set the duration for which the user's session is valid, enter a value between 1 and 32,767 in Session duration (in minutes). The user's session times out after the session duration has been reached regardless of actual user activity or inactivity.
-
To set the duration after which a user is automatically signed out of the My Apps console of this identity domain because of inactivity, enter a value between 5 and 480 in My Apps idle timeout (in minutes).
-
Set customer endpoint settings.
-
Enter the sign-in URL where you want the user redirected to sign in.
-
To allow sign-in customization for the Admin Console, select Allow custom sign-in page.
-
To show only the username field on the Sign In page, select Enable username first flow.
-
Choose whether users see a session picker or a domain picker when they sign in.
- The session pickers shows the user all active and historical sessions in different domains in the tenancy in the browser. To show the session picker, select Enable Session Picker for OCI console. This option is selected by default.
- The domain picker shows the user all domains available in the tenancy. To show the domain picker, unselect Enable Session Picker for OCI console.
-
Enter a Sign-out URL. For example, to redirect the user to the My profile console, enter
/ui/v1/myconsole
.
-
In the Error URL field, enter the tenant-specific error page URL to which a user is redirected after an error. This URL is used when the application-specific custom error URL isn’t specified for an application.
-
In Social linking callback URL, enter the URL to redirect to after linking a user between social providers and IAM is complete. This URL is used when the application-specific social linking callback URL isn’t specified for an application.
-
Set data sharing settings.
-
Select Allow cross-origin resource sharing (CORS). CORS allows client applications from one domain to obtain data from another domain. If you select this option, you might also want to set the Allowed CORS domain names option.
-
Leave the Show the specific error message for login policy violation option on.
This option is turned on by default and allows the system to display the specific policy-violation error-message if the login policy is violated. If the option is turned off, the system displays the standard error message.
-
Select Enable Keep me signed in. This option allows users to stay signed in to the identity domain. If you select this option, a Keep me signed in option displays on the sign-in page for users to enable it for their account. Customize Keep me signed in using the following options.
- Keep me signed in duration (days). Enter how many days users can stay signed in before they’re automatically signed out.
- Reauthentication interval (days). Enter the interval at which a user must reauthenticate if a user hasn’t signed in using Keep me signed in.
- Maximum keep me signed-in sessions. Enter the maximum number of signed-in sessions that a user can have.
-
Click Save changes.