oliyh / re-graph

A graphql client for clojurescript and clojure
461 stars 40 forks source link

Add section on authentication to readme #80

Closed oliyh closed 2 years ago

oliyh commented 3 years ago

There are the following possible strategies:

whatwg/websockets#16

Mention the Apollo implementation perhaps? Headers in the init payload

{:connection-init-payload {"headers" {"authorization" (str "Bearer " jwt}}}
RyanD commented 3 years ago

+1, would love some documentation on how to add a jwt to an http graphql endpoint for use with AWS.

BorisKourt commented 2 years ago

Are there any examples of this around?

oliyh commented 2 years ago

Hi, thanks for the nudge, please check the readme now

BorisKourt commented 2 years ago

Thanks! Looks great