[Html2PdfConverter] Problem with pages that require authentication

[Html2PdfConverter] Problem with pages that require authentication

  
Forge Component
(40)
Published on 24 Mar by Guilherme Pereira
40 votes
Published on 24 Mar by Guilherme Pereira
Hello!

I'm trying to use Html2PdfConverter to export a page that requires authentication and specific roles. When I try to export it, it gives me the login page. 

What's the best solution for this?

Thank you,
Miguel

The page needs to be anonymous. You may need to make a copy of it and pass in everything you need to replicate it
Hello Gerry,

I do have the same question, How can we deal with anonymous. I dont want others to view the page. I heard about setting tokens. But I am not sure how to do that. Can anyone please explain me how we can approach this.
My suggestion would be to encrypt the parameters of that call along with something that ensures that it is valid and validate it in that page.