Comments (3)
Check out this article about it: https://dev-blog.apollodata.com/a-guide-to-authentication-in-graphql-e002a4039d1.
We still have a lot of work on this project. Examples for such cases would be nice. Be patient :)
from aor-graphql.
Both methods are possible, it's a matter of preferences. However, you'll find more examples on classic auth with jwt.
from aor-graphql.
So I went with JWT and got it "working", using this server. But in the guide you linked to it said:
Once the user is authenticated, you simply pass the user information into GraphQL as context.
How would I go about doing this in the aor-graphql demo?
from aor-graphql.
Related Issues (20)
- The resource list doesn't get updated on create [graphcool] HOT 5
- TypeError: queryBuilderFactory is not a function HOT 12
- What's the status? HOT 1
- Permissions issue with Graphcool HOT 4
- Mutations fail when updating to falsy values HOT 2
- Sort does not work as expected HOT 1
- No npm/yarn support? HOT 8
- aor-graphql-demo Posters list bug
- Graphcool demo data HOT 4
- Status of this project HOT 3
- ReferenceManyField HOT 5
- Which is the recommended client for a standard GraphQL setup? HOT 1
- Can't use Theming as documented HOT 4
- WIP... which branches for Apollo-2...? HOT 3
- Custom client overwritten HOT 2
- Nested Relationships not possible to update
- Cache invalidation issue HOT 4
- Getting started / How to reference own Graphcool Prisma API?
- Introspection resolver does not return any resources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aor-graphql.