The user authentication doc uses the wrong signature for overriding authentication with AuthMethods.Password. The correct signature is the one here:
// Email and password
af.auth.login(
{
email: '[email protected]',
password: 'password'
},
{
provider: AuthProviders.Password,
method: AuthMethods.Password,
})
The docs use this:
// Email and password
af.auth.login({
provider: AuthProviders.Password,
method: AuthMethods.Password,
})
which throws Error: Uncaught (in promise): You must include credentials to use this auth method.