Use: - https://github.com/lynndylanhurley/devise_token_auth - https://github.com/exAspArk/graphql-guard Add mutations: signupUser and signinUser. Other links: - http://mgiroux.me/2016/token-auth-in-relay-app-using-rails/ - https://github.com/howtographql/graphql-ruby/blob/master/app/graphql/resolvers/sign_in_user.rb - https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-authentication-and-authorisation-f7c07ebb47b3