Skip to main content

Authentication

Prefix: mailrex.auth

jwt-secret

Secret used to sign JWT authentication tokens with. It will be generated automatically, if not provided. (default: null). You will be fine with 64 characters long random string.

jwt-expiration

Expiration time of generated JWT tokens in milliseconds. (default: 604800000 = 7 days)

native-enabled

Wheather you want use the native username/password authentication from Mailrex. If you would like to use Google oauth, set this to false. (default true)

registrations-allowed

Enable/disable sign ups into Mailrex. (default: false)

needs-email-verification

Whether users need to verify their email addresses when creating their account. Requires a valid SMTP configuration. (default false)

user-can-create-projects

Whether regular users are allowed to create projects. When disabled, only administrators can create projects (default: true)

user-can-create-organizations

Whether regular users are allowed to create organizations. When disabled, only administrators can create organizations (default: true)