2 ms·
We use Apollo at my new company and I have mixed feelings on GQL so far, but I asked HN about it and lots of people had positive anecdotes: https://news.ycombin
by brundolf 5y ago
We use Apollo at my new company and I have mixed feelings on GQL so far, but I asked HN about it and lots of people had positive anecdotes:
https://news.ycombinator.com/item?id=28488259 https://news.ycombinator.com/item?id=28488259
- billoshoes 5y agoDo you have any examples of JWT refresh token auth for Apollo? I'm having an absolute nightmare figuring it out
- brundolf 5y agoSorry, that stuff was already set up when I got here
- jaredgorski 5y agoSpecifically, are you referring to JWT with Apollo client on the server-side? On the client-side, you can just use a link and get the cookie into an auth header that way. On the server-side, you need some way of getting that auth token from the cookie and passing it into the server-side runtime so that you can insert it into the auth header via a link in each server-side Apollo client instance.