This answer here says I can't pass headers while using window.open. Although I couldn't find any documentation stating this.
Is it really not possible to do so. Are there any possible hacks ?
My client requests are sent to a server which I can't control. The request sent by browser for opening pdf (window.open
) is received at that server without auth
headers. Hence, user is prompted for username and password.
Is there a way I can resolve my issue and be able to open pdf from my Angular application. I would also like to know how window.open
works internally as I could not find it online ?
Thanks in advance