Microsoft Single sign-on implementation on existing classic ASP.Net with application events (i.e, session, pre_requesthandler) already defined on global.asax

anees jafrey 1 Reputation point
2022-09-21T18:25:21.303+00:00

Hi,

**

  • Existing App

**
I have an existing ASP.NET application which is using NT authentication at the moment. The application is designed such that the authorization code is implemented in global.asax. Example, (1) application start is set with a list of actions like setting licenses, setting cache (2) session is added with timeouts and session variables (3) pre-request handles the authorization whether the user has access to application.
App is non-MVC, classic asp.Net application and hosted on IIS

**

  • Requirement:

**
The requirement is to move away from NT authentication to Microsoft AD SSO authentication.

Problem:
All the Azure Active directory implementation examples (link) that I am looking at has implementation for Single Page application, ASp.Net Core, ASP.NET MVC, web api etc.

Could anyone please help me in pointing to the right code samples where I can modify my current application and integrate the AAD authentication?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,473 questions
{count} votes