oliyh / re-graph

A graphql client for clojurescript and clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does one provide the hasura access_key and other headers when using websocket ?

hipitihop opened this issue · comments

According to the Hasura docs to use auth with webhooks we need to: run hasura with --access-key How can I provide this parameter along with other headers/params to be sent through to my webhook, either during ::re-graph/init so that the WS does this on handshake or on each query/subscribe/mutation ?

https://docs.hasura.io/1.0/graphql/manual/auth/webhook.html