Webshot with login credentials?

Hi!

I’m trying to take a screenshot (PDF) of some pretty html page with embedded D3.js and Materialize CSS.
I want to use webshot or PhantomJS to render the page server-side using the URL from the client-side.
However, as the server does not have the login-credentials from the client-side logged-in user, it cannot access the URL.
Any idea how to take a webshot in this case? Rendering it server-side is complicated as I have embedded D3.js ‘figures’ in there.
Thanks!

Having same issue with login credentials