powered by
Sign in a user with email & password
sign_in(email, password)
A named list with the following items:
idToken: A Firebase Auth ID token for the authenticated user.
idToken
email: The email for the authenticated user.
email
refreshToken: A Firebase Auth refresh token for the authenticated user.
refreshToken
expiresIn: The number of seconds in which the ID token expires.
expiresIn
localId: The uid of the authenticated user.
localId
registered: Whether the email is for an existing account.
registered
error:
error
NULL if no error code in response
NULL
A list of 2 if response was an error:
code: Error code
code
message: Error message
message
User email
User password
Visit Firebase Auth REST API docs for more details
if (FALSE) { sign_in(email = "user-email", password = "strong-password") }
Run the code above in your browser using DataLab