In what cases does the URL prop actually work in PDFViewer?
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 13 Feb 2026, 09:15 AM
Hello,
The url prop of the KendoReact PDFViewer works when the following requirements are met:
CORS Support: The PDF file must be hosted on a server that allows cross-origin requests (CORS) from your domain. If CORS is not enabled, the PDFViewer cannot fetch the file due to browser security restrictions.
Direct PDF File: The URL should point directly to a valid, publicly accessible PDF file (e.g., it ends with .pdf and returns a PDF file without redirection or authentication).
No Special Authentication: If the file is behind authentication (such as requiring login or authorization headers), the PDFViewer cannot access it directly. In such cases, you need to fetch the file manually and provide it as a base64 string to the viewer.
Accessible Resource: The file must not be blocked by firewalls, network rules, or require additional headers (such as tokens) unless you handle the fetching yourself.
Below you can see sample configuration of the same: