Authenticate a User with a GraphQL Mutation

Eve Porcello
InstructorEve Porcello

Share this video with your friends

Send Tweet

Mutations give you the ability to invoke backend functions from the client. In this lesson, we will use a mutation to authenticate a user with their username and password. Authorized users will receive a token that can be used to identify the current user in future operations.

To follow along with these queries, go to the Pet Library GraphQL Playground.