Is it possible to disable cors fully for testing? I’m getting an error saying that wildcard can’t be used when credentials mode is ‘include’
03/30/2022, 3:59 PM
Uhmm. If your frontend and backend domains are the same, CORS won't be needed then.
But otherwise, you will have to use CORS im afraid. No getting around that..
Also, if you are not using cookies, then you don't need to use
03/30/2022, 7:11 PM
During testing browser is localhost but testing against a deployed dev sever.
Dev server also has a deployed dev app. So this is just a case of local testing against a hosted server… postman works fine, but cors is preventing the frontend developer from being able to test locally against the dev server
Other cases the backend dev is using ngrok to expose his local server… and the frontend dev is trying to debug locally but using that developers ngrok instance.
So in these cases we need to configure cors to with a wildcard.
Our existing Authenticator works fine in this way, we just can’t get supertokens to work on this setup
03/30/2022, 7:16 PM
hmmm. I see.
Can we get on a call to explore options for solutions?