Python: Sign in a user

Log in an existing user with an email and password or phone and password.

Parameters

Examples

Sign in with email and password

response = supabase.auth.sign_in_with_password(
    \{"email": "email@example.com", "password": "example-password"\}
)

Sign in with phone and password

response = supabase.auth.sign_in_with_password(
    \{"phone": "+13334445555", "password": "some-password"\}
)