Alcumus / react-doc-viewer

Apache License 2.0
208 stars 101 forks source link

Add AUTH headers to Doc Uri? #81

Open hawkzey opened 3 years ago

hawkzey commented 3 years ago

I am wanting to use the document URI to display a file, but I cant seem to figure out how to add custom headers to the Head and Get http calls that happen.

These headers are things so that the requests can be authenticated.

I tried converting the file into a blob Uri, but I get method not accepted.