In my react-redux application, i am making service request via axios to my backend service api and i am fine here because i have full control of my backend services so i added "Access-Control-Allow-Origin: *" header in every response of my services. Please be noted that here my client and server hosted in different server domain.
But problem is that there is one service which will redirect to another xyz service resides in another domain where i do not have any control. Now xyz service will redirect back to my server on some validation(login session) and my server finally send the response to my react based client.
Here i am facing CORS error while redirecting xyz service resides in another domain where this xyz service does not send header "Access-Control-Allow-Origin: *".
How can i resolve this without changes in server side. Can i make 'Simple requests' as mentioned in https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS. I have tried this way but it is not working.
Please help me. Thanks.