OWIN Startup gets fired first. How do we disable it based on different url accesssed from my application?

Hariharan Duraisamy Sriramulu 1 Reputation point
2021-09-02T03:15:56.85+00:00

HI We recently implemented Owin startup in our application with openidconnect which requires username and password for login(members.hmsa.com). Works perfectly.
We got a new requirement to load a new page with no authentication like (members.hmsa.com/external/benefits) when user access this page directly in browser or by link owin startup class needs to be ignored and page needs to be loaded with no authentication required. Tried [AllowAnonymous] from my controller and action gets triggered returns view but start up gets triggered after that and loads authentication page. Can you please help us how we can handle this.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,629 questions
0 comments No comments
{count} votes