Skip to content

Instantly share code, notes, and snippets.

@grrinchas
Created January 3, 2018 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grrinchas/88e76c6479b203b3874c52e6771ce3bc to your computer and use it in GitHub Desktop.
Save grrinchas/88e76c6479b203b3874c52e6771ce3bc to your computer and use it in GitHub Desktop.
types: ./types.graphql
functions:
authenticate:
type: resolver
schema: ./src/authentication.graphql
handler:
code:
src: ./src/resolvers/authenticate.js
environment:
AUTH0_DOMAIN: nookit.eu.auth0.com
AUTH0_API_IDENTIFIER: elm-blog
permissions:
- operation: Post.read
- operation: Post.create
authenticated: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment