If fetching some resources (e.g. images) used in a generated PDF requires passing an additional authorization factor in the form of additional HTTP headers:
extra_http_headers: [
{ domain: 'https://ckeditor.com/', headers: { authorization: 'Bearer xxx' } },
{ domain: 'https://example.com/', headers: { authorization: 'Bearer yyy' } }
]
Copy code