CHAINLIT_AUTH_SECRET
environment variable. This is a secret string that is used to sign the authentication tokens. You can change it at any time, but it will log out all users. You can easily generate one using chainlit create-secret
.cl.User
object. If the callback returns None
, the authentication is considered as failed.