Stuck on redirect issue of CORS with preflight. Working on another solution.