What is the correct way to add roles to a user schema in absinthe?

Update

My registration mutation works tested using

mutation{
  registerUser(input:{email:"a@a.com", password:"a@a.com", role:"user",passwordConfirmation:"a@a.com"}){
    email
    
  }
}

But my login mutation doesn’t work

Tried this

mutation{
  loginUser(input:{email:"a@a.com", password:"a@a.com", role:"user"}){
    token
    user{
      email
    }
  }
}

I get this error

"# KeyError at POST /api/graphiql\n\nException:\n\n    
** (KeyError) key :role not found in: %{email: \"a@a.com\", password: \"a@a.com\"}\n