Can anyone provide guidance on setting headers and opening a URL (https://www.example.com) in a new window without including sensitive authentication information in the URL parameters? I am working with AngularJS for this task.
I have searched through existing questions on StackOverflow, such as: Convert $.param in AngularJS How to add authentication header to $window.open Open a PDF in a new window of the browser with AngularJS
The provided solutions involve appending the token to the URL, but they are not working for me. Any assistance would be greatly appreciated.