We are building a front end vanilla JS application that consumes API from a different domain. One of the endpoint will send us new tokens with 302 status and redirects to a