I am using Apollo Client With Next JS
User Login Mutation is on Client Side , and i am saving auth token in cookies,
I am getting refresh token in response headers of apollo Client.
Questions
- How can i read response header in apollo client during query and mutation on server and client side.
- How can i update cookies when i get refresh token in response header on both client and server side.