Login User
Use this mutation to login a user.
Use the login mutation to obtain a JWT authentication for third parties only. This sends a user_id
and returns an access token and a refresh token.
Requirements
To have the userId which will indicate the user who will be logged in.
Required Argument
Argument | Type | Description |
| String | The user's ID |
Available Fields
Field | Type | Description |
| String | Access token that is passed in the header |
| String | The refresh token that is used to obtain another access_token when the current one expires |
Example
Last updated