Authentication
Password
The @cl.password_auth_callback
receives the username and password from the login form. Returning an cl.User
object will authenticate the user while returning None
will fail the authentication.
You can verify the credentials against any service that you’d like (your own DB, a private google sheet etc.).
The usual security best practices applies here, hash password before storing them.