Skip to main content

Module config

Module config 

Source

StructsΒ§

ApplicationConfiguration
AzureBlobStorageConfiguration
AzureChatbotConfiguration
AzureConfiguration
AzureSearchConfiguration
OAuthServerConfiguration
SuotarConfiguration

ConstantsΒ§

FAST_TRACK_EMAIL_MATCH_ENABLED_DEFAULT πŸ”’
Auto-links a student number when Sisu’s address matches a verified account email. Off until that fast track exists; then it is the incident kill switch for it.
FAST_TRACK_MAX_EMAIL_VERIFICATION_AGE_DAYS_DEFAULT πŸ”’
Days an email_verified_at may be old and still count as fast-track proof. Bounded because a deprovisioned university address can be reissued to somebody else.
MOCK_SUOTAR_TOKEN
The only token the mock Suotar accepts. Public on purpose: never a real credential.
SUOTAR_AUTH_SCHEME
TODO: Suotar has not confirmed whether they want Basic or Bearer; Basic is what they already accept on the legacy study-registry path.

FunctionsΒ§

bool_env_false_by_default
Reads a boolean env var where missing values default to false.
i64_env_or πŸ”’
Reads an integer env var, falling back to default when unset, blank or unparseable.
non_empty_env πŸ”’
Reads an env var, treating a blank value the same as an unset one.