Ideas on dealing with path attribute in Set-Cookie header. #1591
Unanswered
Prog-Jacob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beginner here👋
I am developing a gRPC API with the browser being the client. I am using access and refresh tokens authentication model. What I am familiar with in a REST API is that I would set a cookie with the "path" attribute to a dedicated endpoint "/refresh-token" or something. However, I have no idea how to do such thing using gRPC. One way is not to specify a path attribute, but I find it inconvenient to send unnecessary cookies with every request. Any ideas?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions