My Web Form application has to connect to Azure AD for Single-Signon. I have added an OWIN Startup class and added the code shown in the answer of this post:
404 not found error when trying to initialize Azure AD
When I run the application, it gives "access denied".
I read about X509 certificates authentication in the below link and added the code in Login.aspx however, it is never reaching this code. It hits Startup.cs code of the above link and throws error "Access Denied":
I want to know whether X509 certificate code is also required and how it can be authenticated.
In the second link, check this section: "ASP.NET WebForms sample". I have added this code in Login.aspx.