I am using apollo-server-express ^3.1.2. It seems that when I go to localhost:4000/graphql, it redirects me to studio.apollographql.com and then I can run queries and mutations. When I run the login mutation it returns a successful response but the cookie is never set. Also, I can't change the 'request.credential' option to 'include' because the online playground doesn't have a config json that we can edit.
So, how do I set and get cookies from the online playground?
I am using apollo-server-express ^3.1.2. It seems that when I go to localhost:4000/graphql, it redirects me to studio.apollographql.com and then I can run queries and mutations. When I run the login mutation it returns a successful response but the cookie is never set. Also, I can't change the 'request.credential' option to 'include' because the online playground doesn't have a config json that we can edit.
So, how do I set and get cookies from the online playground?
Hello!
I have not tried the new apollo studio, but I looked through the docs and found this section:
apollographql.com/docs/studio/expl...
Have you tried these settings? I also think some of the CORS-settings (the URL part specifically) has to be changed to reflect the updated URL.
I hope this helps and please let me know how it goes!
Hey i have used apollo studio before and remember to set Include Cookies in the settings to true. π