Skip to main content
Version: Next

No Authentication

warning

This configuration is inherently insecure. It is intended for demos, trials, initial setup, and verification only. Do not use this in production.

When set to none, Cortex automatically logs in every visitor as CSDAdmin and grants access to every Business Object and record.


Configuration

In appsettings.json, set the Authentication section as follows:

{
"Authentication": {
"Type": "none"
}
}

If you prefer environment variables, set:

  • Authentication:Type on Windows
  • Authentication__Type on Linux

Overriding the Default User

In none mode, Cortex acts as the CSDAdmin user. If that user does not exist in your system, you can specify a different user with the OverrideUsername setting:

{
"Authentication": {
"Type": "none",
"OverrideUsername": "yourUsernameHere"
}
}

If you prefer environment variables, set:

  • Authentication:OverrideUsername on Windows
  • Authentication__OverrideUsername on Linux