Giter Site home page Giter Site logo

graphql-auth's People

Contributors

bricesanchez avatar ferland182 avatar gloubier avatar pedrorio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

graphql-auth's Issues

Rails 6 support

Hey, I also have done a boilerplate with devise and jwt, but we think we should focus on one library, so we want to join here ๐Ÿ‘

What about rails 6 support? Where can we help to get this running?

rails g graphql_auth:install fails

Hi,
I am trying to install graphql-auth with the following:

rails (6.0.3.2)
devise (4.7.2)
graphql (1.11.3)
jwt (1.5.6)

When I run rails g graphql_auth:install, I face the following error:
#---
[WARNING] Could not load generator "generators/graphql_auth/install_generator". Error: undefined method sign_in_mutation' for nil:NilClass. C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/graphql-auth-0.2.2/app/graphql/types/graphql_auth.rb:6:in module:GraphqlAuth'
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/graphql-auth-0.2.2/app/graphql/types/graphql_auth.rb:3:in <top (required)>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:27:in require'
....
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-6.0.3.2/lib/rails/commands.rb:18:in <top (required)>' bin/rails:4:in require'
bin/rails:4:in <main>' ... Could not find generator 'graphql_auth:install'. Maybe you meant "graphql:install"? Run rails generate --help` for more options.

---#

I tried debugging with few monkey-patchings at app\graphql\types\graphql_auth.rb but got lost.
Can you please help?

Sign Out needed?

I wondered why there is no sign out mutation. The client could "forget" the token in the frontend to sign out, but with a explicit logout mutation we could invalidate the token in the database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.