Export to PDF in Blazor on a Page with auth don´t make

Hi, I´m working with server side blazor with auth and I try to export to PDF a page, but when I export the pdf, this contain the login or a page what say "Yo don´t auth" (this because I redirect to this page if you try to get into a specific page in my proyect). I don't find how to export the page that when I do this method.
I did this tutorial: https://www.syncfusion.com/kb/9143/how-to-convert-html-to-pdf-in-c-and-vb-net
If you do this tutorial and change the url to facebook for example, you will replicate my problem
I provide the result but I want the wall in this case,not the login.
Thanks

Attachment: sample_dfc25496.rar

1 Reply

SL Sowmiya Loganathan Syncfusion Team May 7, 2020 02:05 PM UTC

Hi Carlos,   
  
Thank you for contacting Syncfusion support.   
  
We have analyzed your requirement for converting an authenticated web page to PDF. WebKit HTML converter supports Form authentication (cookies based), Windows authentication, and token-based authentication. We have tried with Facebook URL, but it is using token-based authentication. But we are unable to retrieve the token for our Facebook account.    
  
Kindly let us know which type of authentication is used in your application. Please refer below links for more information about supported authentication in HTML converter.    
  
Please refer to the below KB link for converting the authenticated webpage to PDF.   
   
Regards, 
Sowmiya Loganathan 


Loader.
Up arrow icon