mutation auth($username:String!, $password:String!){ tokenAuth(username:$username, password:$password){ token } } mutation register($username:String!, $password:String!){ registerUser(input:{username:$username, password:$password}){ ok } }