You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an authentication cookie that our API requires before returning a PDF response.
When trying to use our url in the src attribute the pdf viewer fails because it gets a 401 status code from the url. How can we send the current cookies with the request for the pdf?
In an object data attribute the cookies are automatically sent.
In http.get there is a withCredentials attribute that can be sent as true.
But what is the correct way to send cookies using pdf viewer?
The text was updated successfully, but these errors were encountered:
We have an authentication cookie that our API requires before returning a PDF response.
When trying to use our url in the src attribute the pdf viewer fails because it gets a 401 status code from the url. How can we send the current cookies with the request for the pdf?
In an object data attribute the cookies are automatically sent.
In http.get there is a withCredentials attribute that can be sent as true.
But what is the correct way to send cookies using pdf viewer?
The text was updated successfully, but these errors were encountered: