samjbmason
07/09/2017, 5:37 PMauser
07/09/2017, 8:10 PMauser
07/09/2017, 8:12 PMsamjbmason
07/09/2017, 8:48 PMsamjbmason
07/09/2017, 8:59 PMsamjbmason
07/09/2017, 9:26 PMauser
07/10/2017, 3:10 AMauser
07/10/2017, 3:13 AMuserId
, for instance user: User @relation...
)phil
07/10/2017, 4:19 AMbriand
07/10/2017, 4:30 AMauthentication-with-auth0-and-apollo
example and for some reason after I login with Auth0 I'm getting this error CreateUser.js:80 Error: GraphQL error: The provided idToken is invalid. Please see <https://auth0.com/docs/tokens/id_token> for how to obtain a valid idToken
at new ApolloError (apollo.umd.js:1959)
at apollo.umd.js:2670
at <anonymous>
pretty sure I followed the tutorial/setup video. Seems like I'm in an authentication loop where my user is not being created or pushed to graphcool. Any ideas? (probably a noob issue 😭)jakelowen
07/10/2017, 5:36 AMauthentication-with-auth0-and-apollo
starter example. I then modified the schema such that every post has an “author” which is a relation to the user type. In the playground it works when I run a query like:jakelowen
07/10/2017, 5:36 AMquery{
allPosts(
orderBy: createdAt_DESC,
filter:{
author: {
id:"cj4uce21t4wmi0199950ia1ck"
}
}
) {
id
imageUrl
description
}
}
jakelowen
07/10/2017, 5:37 AMjakelowen
07/10/2017, 5:37 AMjakelowen
07/10/2017, 5:38 AMjakelowen
07/10/2017, 5:38 AMjakelowen
07/10/2017, 5:39 AMjakelowen
07/10/2017, 5:40 AMstton
07/10/2017, 6:20 AMstton
07/10/2017, 6:24 AMantho1404
07/10/2017, 6:45 AMantho1404
07/10/2017, 6:47 AMgraphcool pull
have a permission file and be able to push it back with a graphcool push
marcusstenbeck
07/10/2017, 7:01 AMauth
) or keep connecting via Apollo’s graphql()
. I’m sure Apollo will have better caching behavior than my own code … so I feel like it would be duplicating data if I also keep track of it. This is just a sanity check for myself. What do you think?katsgeorgeek
07/10/2017, 7:13 AMppatidar
07/10/2017, 9:27 AM12brols
07/10/2017, 9:48 AM12brols
07/10/2017, 9:51 AMdirectives: [Directive!]! @relation(name: "UserOnDirective")
I really don’t understand how to use this relation ship if i want to update the user with new directives. Can someone please give me a hint on how it worksdankent
07/10/2017, 10:30 AMdankent
07/10/2017, 10:31 AMlancej
07/10/2017, 11:15 AM