Implementing OIDC client in ASP.NET Framework 4.8 application

Banu 20 Reputation points
2025-04-25T08:01:55.41+00:00

Hi,

We have our ASP.NET web application which has been developed using .Net Framework 4.8. We have done the authentication using WS Feb (Auth0). It has been configured in Web.Config. I would like to change it to OIDC.

Kindly suggest how it can be changed.

Thanks in advance.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,230 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 75,051 Reputation points
    2025-04-28T17:26:58.6966667+00:00

    WS federation is an optional http module that handles SSO, and is configured via web.config. azure hosting has a similar module for OIDC (azure easy auth).

    https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization

    if you are not hosting in azure, you will need to change your code to support OIDC. This will mean switching to the owin pipline, and using the owin OIDC components. MS documentation for old webforms is getting sparse. Try

    https://docs.openathens.net/providers/net-framework-4-5-webforms-openid-connect-example

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.