Basic authentication is not recommended for production environments. It is
primarily intended for testing and development purposes. For production
deployments, consider using more secure authentication methods like Google or
OIDC.
Configuration
To enable basic authentication, you need to set the following environment variables:A secret key used to encrypt tokens and sign cookies.
This can be generated by running:
AUTH_CREDENTIALS_ENABLED
to true
.
Usage
With basic authentication enabled, a new “Sign up” button will be displayed in the/login
page where users can sign up using their email and password.