Last post Nov 28, 2018 03:23 PM by Jon11sin
Nov 19, 2018 05:01 PM|Jon11sin|LINK
Currently I am implemented the SSRS 2016 Custom Authentication via https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample2016
I have an external web application with only a test login page. Once the user is logged on and authenticated I am using HttpContext.Current.Response.Redirect(ssrslogin.aspx,true) for the redirect. I get redirected to the custom login page within SSRS 2016
but not getting authorized.
The user shouldn't see the custom login page, the cookie being passed from the external web application should get passed along to the SSRS custom auth login page. Which in turns validates the cookie using the AuthorizzationExtension.
What am I missing?
Nov 20, 2018 06:54 AM|Zhi Lv - MSFT|LINK
Please check your code and make sure you have configured the Passthrough cookies.
In the rsreportserver.config file add following under <UI>
More details, please check the
Configure the Web Portal to Pass Custom Authentication Cookies article.
Nov 20, 2018 02:52 PM|Jon11sin|LINK
Hey Zhi Lv,
I have added the Passthrough cookies within the rsreportserver.config file. I went through the instructions and added everything that was needed.
But something doesn't add up. I have a small external web app which I log in and authenticated and creates a cookie.
Then I use HttpContext.Current.Response.Redirect to the SSRS 2016 Report Server but it just sits on the custom Login page. Which makes me think something isn't right.
Within the code of the Custom Authentication there is no code in the Page Load to read anything which is why I feel something is missing. I don't understand how the cookie is being read once I get to the SSRS 2016 Report Server site.
Nov 28, 2018 03:23 PM|Jon11sin|LINK
I'm at the point of the cookie from the external web app is not being received by the SSRS 2016 custom authentication Login Page. I have followed the steps that was provided but to no avail. If anyone can provide guidance on the cookie being received would
be a step in the right direction.