Last active
November 15, 2017 18:58
-
-
Save quiaro/647cd0d2a1aff9d27f181d105e9f371b to your computer and use it in GitHub Desktop.
service config - Graphcool with Auth0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| types: ./types.graphql | |
| functions: | |
| authenticate: | |
| handler: | |
| code: | |
| src: ./src/auth0/auth0Authentication.js | |
| environment: | |
| AUTH0_DOMAIN: ${env:AUTH0_DOMAIN} | |
| AUTH0_CLIENT_ID: ${env:AUTH0_CLIENT_ID} | |
| type: resolver | |
| schema: ./src/auth0/auth0Authentication.graphql | |
| # Model/Relation permissions are used to limit the API access | |
| # To take the burden of thinking about those while development, we | |
| # preconfigured the wildcard ("*") permission that allows everything | |
| # Read more here: | |
| # https://docs-next.graph.cool/reference/auth/authorization/overview-iegoo0heez | |
| permissions: | |
| - operation: "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment