- Still getting a CORS error in the browser when calling the social sign-in endpoint.
In next.config.js I also added headers with Access-Control-Allow-Origin: * (wildcard).
Since this is a single NextJs project with subdomain rewrites, do I still need to manually add CORS headers, or should trustedOrigins handle this automatically?