Skip to main content

login

Attempt to login given an email and password.

Returns the response from the login attempt in the form of a JSON Web Token

login(
email: String!
password: String!
): LoginResponse

Arguments

email (String!)

Email used in the login attempt

password (String!)

Password used in the login attempt

Type

LoginResponse

Response to when a user tries to login