In my app, I use firebase to authenticate the user. Right now, whenever I want to send a regular API call to my backend server, I first get a unique ID token for the user through
firebase. I have to generate a token for every request because they expire. Then from the server, I can use this token to authenticate the user.
In Apollo, I saw that we can set a header when initializing the app. For my scenario, this will not work. I need to be able to set the header per every request. Is it possible?