problem with header Authorization node / angular

1

Hello,

I'm trying to access an external link to our application, which should be opened in a new tab. I need to pass the login and password in the header of the call, but I can not. I tried the option below, but it did not work. Has anyone had the same problem? The application uses NODE and Angular

var params = {
    Authorization: 'Basic myToken'
};

var url = ['myUrl', $.param(params)].join('?');

window.open(url);
    
asked by anonymous 02.10.2017 / 20:19

0 answers