we've integrated HTML 5 Report Viewer in our solution in a ASP.NET 3.5 Web Site and the Reporting Service is hosted in a separated REST endpoint (.NET 4.6.2) using libraries downloaded from Telerik Private NuGet server.
The REST enpoint implement Basic Authentication with a Bearer token retrieved from an our external REST endpoint.
The report viewer works well with authentication but after Print operation require authentication from the browser.
I see the same behaviour in Google Chrome, Opera.
How can I remove the authentication box for printing report?
Monitoring the HTTP traffic with Fiddler I see that the HTTP request for printing don't pass authentication token as previous calls (Request headers -> Security -> Authorization).
I've tried various configuration for print mode:
- FORCE_PDF_PLUGIN (as below): Download directly the file and after open it starts the print process.
- FORCE_PDF_FILE: Show an authentication box in the browser
- AUTO_SELECT: Show an authentication box in the browser
The authentication token is retrieved and setted in the Page_Load event in the ASP.NET page that host the HTML 5 Viewer.