send additional headers
is there a way to pass additional headers? Doing it like this throws an error and seems to completely override headers:
8 Replies
Just get the existing headers and append your new ones.
how do you get the existing headers with authclient in browser?
i dont have the callback function for headers (or for fetch options)
Actually all you need is cookies, but I just realized that I'm not sure you can do this on prod when cookies are stored with
secure
So ignore me, I'm wrong 😁ah ok
should i ping bekacru if you aren't aware of ways to pass additional headers?
Can you try passing query params maybe?
yeah, they get attached
so there's no way to attach additional headers/cookies from the client?
Probably not, but it's possible I'm wrong.
@bekacru do you maybe know if there's a way to do it?