I have implemented the Embedded SSO SignIn widget in my ASP.NET Web application. On Successful login, I am receiving the claim identity along with tokens.
My QUESTIONS is:
My application is mix of aspx and MVC pages hence, it difficult for me understand how I can authenticate the user while redirecting from one page to another.
Please help me understand, How I can do a code implementation to check user authentication/active session on page load (either aspx or MVC controller action).
Below code sample is I am using at the first time of the user login. I want to authenticate the user on every page redirect.
one follow up questions, I can use [Authorize] attribute for MVC controllers however, how I can validate the user on .ASPX page because my application is mix of aspx and MVC pages ?