Hi, when i use supertokens as microservice with ng...
# support-questions-legacy
i
Hi, when i use supertokens as microservice with nginx, for requests i get 'Cannot send secure cookie over unencrypted connection'. So, other services, like strapi, have a specific config settings to avoid this. Are any in supertokens to fix this?
r
Hey @IaS1506
what is your api domain value? Does it use https or http?
i
https
r
well, then cookie secure is correct
then probably something wrong with how you have added nginx
i
and what address i should set to api domain? for example i deploy to api.test.com, so api_domain is api.test.com?
r
yes
i
Ok, i will try
this was solved by setting app.proxy = true (Koa framework)
2 Views