Skip to content

Instantly share code, notes, and snippets.

@ivansglazunov
Last active July 19, 2019 23:52
Show Gist options
  • Save ivansglazunov/923a611d958e28c829a947b9b98c89f5 to your computer and use it in GitHub Desktop.
Save ivansglazunov/923a611d958e28c829a947b9b98c89f5 to your computer and use it in GitHub Desktop.
hasura-webhooks-passport
- set heroku config vars for hasura
- `HASURA_GRAPHQL_ADMIN_SECRET` `*`
- `HASURA_GRAPHQL_AUTH_HOOK` `http://*.*.*.*:****/webhook`
- get from heroku config var `DATABASE_URL` some thing as `postgres://hxpofunslqpcbb:*@ec2-174-129-227-128.compute-1.amazonaws.com:5432/dackb7ggb8f8j1`
- clone this https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks/passport-js
- follow `Deploy locally` but add to `DATABASE_URL` postfix `?ssl=true`
Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment