CORS error during 302 Redirect

I am trying to logout the user during the fetch call if the user token is expired by doing 302 redirect but the Auth0 is throwing back the CORS error. @rueben.tiow do you any solution for this?

@auth023 do we have solution for this kind of scenario?