Ready to post? First, try searching for your answer.
I can successfully authenticate with Auth0 using my Next.js application but whenever I try to logout I always get a CORS error:
Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
It does not work from localhost but it does work from our development domain
Thank you for posting your question. If you are using the Link component from the Next.js it can cause the prefetch. Can you confirm if you are using The Link component and change it to the native <a> tag?