Skip to main content
Version: Next

Auto-Redirect on Login

By default, users who reach Cortex while logged out will see a screen prompting them to click through to the auhentication provider. If you would prefer them to be redirected automatically, there is a setting for this.

This redirect also applies after a user's session times out.


Option 1 - System Settings (UI)

In Cortex, navigate to Admin > System Settings > Authentication and check the box for Auto-Redirect Users To Log In.


Option 2 - appsettings.json

Add the following under the Authentication section in appsettings.json:

{
"Authentication": {
"AutoRedirectToLogin": true
}
}

This option was added in v2.5.0.