https://supertokens.com/ logo
#support-questions
Title
# support-questions
a

Ahnaf

05/20/2022, 4:22 AM
the preflight request is an OPTIONS request made to the endpoint to make sure that it's CORS compliant, and the preflight shouldnt do a redirect. So if your frontend is getting this error when requesting the Nextjs endpoint, I think it's probably the endpoint doing some kind of redirect on the OPTIONS preflight request.