How to forward set-cookie headers from action #7684
Unanswered
gradisarjoze
asked this question in
Question
Replies: 1 comment
-
I was having the same problem, and apparently Hasura only sends cookies via actions if it is a mutation and not a query. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are attempting to pass cookies from an action to the fronted via Hasura action and can't seem to figure it out.
Setup:
Frontend app is hosted on domain.com, Hasura instance has setup a custom domain at api.domain.com. Hasura action is pointing to a cloud function hosted on GCP. CORS is set up to allow domain.com. But I'm guessing, since Hasura is in the middle, there must be some missing configuration.
A similar issue: #1654
Is there any way to pass response cookies from the cloud function to frontend via Hasura?
Any direction will be highly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions