microsoft / Reporting-Services

Git repo for SQL Server Reporting Services and Power BI paginated report samples, and community projects
MIT License
425 stars 361 forks source link

SSRS Security Extension - GetUserInfo API missing cookies in Report Portal requests #257

Open TestO2015 opened 1 year ago

TestO2015 commented 1 year ago

I need to access HTTP request cookies in the IAuthenticationExtension2 GetUserInfo APIs. There's two and one contains a IRSRequestContext object and the second contains HttpContext.Current.Request object.

When I access the Report Portal to edit a shared data source (and other settings pages) several requests (40+) are received and 2 of them fail because there's no cookies present in the request objects. Those requests fail with rsAuthorizationTokenInvalidOrExpired error as authentication relies on those cookies.

The configuration page is then loaded with an error and is partially blocked from editing. image

Can anyone help determine why the cookies aren't set for these requests.?

FilopateerMaged commented 5 months ago

Have you figured out what was causing the issue? I'm facing the same error!