Hi all, I’m trying to get a local graphcool servic...
# orm-help
c
Hi all, I’m trying to get a local graphcool service running so that developers can dev and test against it. Unfortunately a part of this is using Auth0 as an auth provider (which we have set up through console.graph.cool). I’ve been trying to find some code across the web that will help me with this but without luck. Basically I want to implement the following mutation as a function and run it through
graphcool deploy
with a local config, but
{authProvider: }
doesn’t exist:
Copy code
GraphQL error: Unknown argument 'authProvider' on field 'createUser' of type 'Mutation'
This is the mutation definition:
Copy code
mutation CreateUser($idToken: String!, $email: String!) {
        createUser(authProvider: {auth0: {idToken: $idToken}}, email: $email) {
            id
        }
    }