problem with header Authorization/angular

Asked

Viewed 36 times

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 call header, but I’m not getting it. I tried the option below, but it didn’t solve. Has anyone ever experienced the same problem ? The application uses NODE and Angular

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

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

window.open(url);
  • This password goes by GET? how is the code that checks it on the Node?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.