Skip to main content

No Authentication

WARNING: This configuration is inherently insecure. For that reason, the default configuration file doesn't use "none" as the default and forces you to choose an authentication type. This mode is great for demos, trials, or if you plan on handling authentication through other means while granting all users access to everything.

This automatically logs in every visitor as CSDAdmin and allows access to every Business Object and record.

In appsettings.json, edit the "Authentication" section and set the following values:

  "Authentication": {
"Type": "none",
// ... you can leave everything after this blank
}

If you prefer the environment variable style configuration, set the Authentication:Type (Windows) or Authentication__Type (Linux) variable.

Overriding the user

In none mode, Cortex acts as the CSDAdmin user. If this user isn't configured in your system (or doesn't exist), you can specifiy what user to use by setting the OverrideUsername setting:

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

If you prefer the environment variable style configuration, set the Authentication:OverrideUsername (Windows) or Authentication__OverrideUsername (Linux) variable.