Why a CORS Preflight OPTIONS Request Returns 401
DEV Community
Why a CORS Preflight OPTIONS Request Returns 401
A 401 on the CORS preflight means auth runs before CORS, but OPTIONS carries no token. Let OPTIONS pass while keeping the real request protected.
0 comments
No comments yet.