// node express res.redirect(302, 'http://myweb.com/app/');
My login and
/appIs two sets of angular applications, I want to achieve after the successful login, the back-end 302 Found to
/appPage, but failed.
A wildcard '* ' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'null' is therefore not allowed access. The cred entials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
For help, how to solve it?
This misstatement is cross-domain. Generally speaking, this can be solved
the credentials flag is trueThis means that you still need to transfer data, such as cookie, etc., then the cross-domain header setting at this time is prohibited as wildcard characters, so:
What all don’t say, come to the document: