Hi, i have a problem starting from a few days a go,
when i make a request like this
var headers = new Headers({ 'Content-Type': 'application/json' });
var options = new RequestOptions({ headers: this.headers });
options.withCredentials = true;
this.http.post("http://127.0.0.1:5000/api/login",{ username:'xxxxxx', password:'xxxxxx' } )
.....
this.http.get("http://127.0.0.1:5000/api/some_authenticated_api" )
The login is succefull but the second request does not have the Cookie with the credentials
This behaviour occurs only with google chrome( 61.0.3163.91 ) and android application and only if i use “http://127.0.0.1:5000” or “https://” instead of “http://localhost:5000” or “http://domain.com/api/someapi”
firefox and ios application works fine
Can anyone point me on the right direction to solve this problem?