Open metinsevindik opened 4 years ago
Are still seeing this problem? Which version of PBIRS?
I encountered the same issue. For the requests related to custom visuals, the session auth cookie is being dropped by the browsers. As a workaround for this, I changed the web.config on Report server as -
For newer browsers' restrictions on same-site cookies, the request has to be marked as secure and sent through https. If you can have https configured on the report server, you can use the following config which will automatically mark cookie as secure.
In my case https is handled at the firewall, while the report server gets HTTP traffic only. As a workaround for this, I mark the cookie as secure in login.aspx.cs as -
Response.Cookies["sqlAuthCookie"].Secure = true;
This is accepted by the browser as a secure cookie since it is sent as https outside the firewall.
This solution worked as expected for me.
This is still a major issue. Looks like because VisualResourceLoader.htm loads scripts without use-credentials the cookies are not passed.
Hi @akoneru, does Response.Cookies["sqlAuthCookie"].Secure = true; needs to be added in web.config or logon.aspx page load event?
Appreciate your help!
Hi,
I have a problem in a powerbi report. Error details
Thanks