Asp.Net web application with Token implementation

Selvakumar Ramachandran 1 Reputation point
2023-01-26T02:20:27.5633333+00:00

Hi,

In my Asp.Net (aspx) web application, we are using form based authentication. As part of modernization, we are asked to move to token based authentication. How will I enable token based authentication in my application without impacting the current functionality. We are using role based authorization as well.

Please give me an idea how to migrate our application to token based authentication.

Thank you

Selvakumar R

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,249 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QiYou-MSFT 4,306 Reputation points Microsoft Vendor
    2023-01-26T08:42:38.08+00:00

    Hi @Selvakumar Ramachandran

    First, authentication methods typically don't conflict with your application. Web Forms authentication is usually validated in the form of cookies.

    As for how to migrate your application to token-based authentication. The first thing to look at is how the token is validated. Each token has its own unique way of programming. The second thing to see is whether the token supports your framework.

    These things are required according to the certificate documentation.

    I think the following documentation will be helpful to you.

    Form Authentication.

    Finally, I would like to say that there is a problem with the functional impact during the migration process. My conclusion above is that there is basically no impact. However, it is not excluded that some data is shared by your function and validation. So I think it's important to test your code well before migrating.

    Best Regards

    Qi You


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments