graphql-passport
graphql-passport copied to clipboard
Strategy and utilities to use passport.js with GraphQL server
* fix #71 * upgrade subscriptions-transport-ws * fix unsecure packages
The new 0.6.0 version of passport, changes some of the parameters of login()/logout(), so seems like some changes are needed for `graphql-passport` to be fully compatible. Example: https://github.com/jaredhanson/passport/commit/17111d76972462eab90a1ea5dcd9211ceb93c7b0 And: https://github.com/jaredhanson/passport/commit/e69834e070662e8972e9eca07cbebf0338cfd226
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Hi, When logging in i get a returned user however the current user resolver is returning undefined. ` currentUser: (parent, args, context) => { console.log(context.getUser()); return context.getUser()},` Wondering if you...
I see that your server is set up with Apollo Server. I am trying to configure this using express-graphql - with minimal luck. Would you like to see my code...
Hello. I am trying to login and update a collection. This is my context creation: ``` const server = new ApolloServer({ typeDefs, resolvers, context: ({ req, res }) => {...
Hi, query and mutation work perfectly but not working with subscription. When i try to call ctx.getUser(), ctx.isAuthenticated() or ctx.isUnauthenticated() will get the following errors: Cannot read property 'user' of...
I have been trying to figure out how to use graphql-passport with passport-local and passport-jwt for a couple days now. The GraphQLLocalStrategy built into graphql-passport is working. I have not...