Skip to content

PDF export: config for authentication #168

@wunc

Description

@wunc

We should add a configuration for optional basic auth for PDF generation for cases where the site is served behind a private web server (like a staging server) protected by basic auth. The headless chrome PDF generator needs the auth to see that page in this case, or you'll just get a PDF with "Unauthorized" instead.

I tested the following, and it seems to work. Just needs to be coded in. https://spatie.be/docs/browsershot/v4/miscellaneous-options/using-http-authentication

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions