Removed CORS and used plain form submit.