https://supertokens.com/ logo
Title
a

anand

02/22/2023, 7:45 PM
hi guys can any guide me how to setup apollo client with supertokens as I'm trying for a 5 hours but ray of hope but works with fetch api.
r

rp

02/23/2023, 5:26 AM
hey @anand
what you have done seems fine. Whats the behaviour that you are seeing?
a

anand

02/23/2023, 6:00 AM
i am geeting a cors error
hey @rp
r

rp

02/23/2023, 6:03 AM
see our cors setup instructions please. You can't use
*
as the allowed domains (as the error says)
a

anand

02/23/2023, 6:12 AM
but this my cors setup
r

rp

02/23/2023, 6:12 AM
right. I think the graphql layer is overwriting this setting
a

anand

02/23/2023, 6:15 AM
wow @rp ive changed the graphql module cors settings and works now thanks