Agorakit configuration options to set in the .env
file.
Refer to https://github.com/agorakit/agorakit for details on supported values.
Settings containing secret data should be set to an attribute set containing the attribute _secret
- a string pointing to a file containing the value the option should be set to. See the example to get a better picture of this: in the resulting .env
file, the OIDC_CLIENT_SECRET
key will be set to the contents of the /run/keys/oidc_secret
file.
Declarations
Type
attribute set of (null or boolean or signed integer or 16 bit unsigned integer; between 0 and 65535 (both inclusive) or path or string or (submodule))
Default
{ }
Example
''
{
ALLOWED_IFRAME_HOSTS = "https://example.com";
AUTH_METHOD = "oidc";
OIDC_NAME = "MyLogin";
OIDC_DISPLAY_NAME_CLAIMS = "name";
OIDC_CLIENT_ID = "agorakit";
OIDC_CLIENT_SECRET = {_secret = "/run/keys/oidc_secret"};
OIDC_ISSUER = "https://keycloak.example.com/auth/realms/My%20Realm";
OIDC_ISSUER_DISCOVER = true;
}
''