django-graphql-jwt
django-graphql-jwt copied to clipboard
Cookies are not being set on cross domain
Cookies are not being set whenever I make the call from the client side. They are being set when I use tokenAuth mutation in GraphiQL.
Even after setting JWT_COOKIE_DOMAIN
@mongkok can I know is it a bug or is it issue with my implementation?
I followed the documentation and did exactly the same
If you're using apollo client check that you set credentials: 'include'
in createHttpLink
See https://github.com/flavors/django-graphql-jwt/issues/191#issuecomment-733011647
If you're using apollo client check that you set
credentials: 'include'
increateHttpLink
See #191 (comment)
Thanks a lot @chidimo, it worked!
Weird, it's not working anymore again, I guess last time I mistook that it's working ig
Can you post some code? Kind of difficult to fix a problem you can't see.