admin管理员组

文章数量:1279148

I use a React + ASP.NET Core stack with a bearer token JWT authentication scheme.

I wanted like to add a MSAL option to our users to authenticate with, but I am not sure if this is a good idea and how to execute it.

Our pre-existing token still needs to be requested because it contains within it some claims at this time I can't add to the MSAL token.

So my idea was that the React client will authenticate, and after the redirect we may can send a request to the ASP.NET Core backend that we have, with the MSAL token, to generate the app's usual token.

Is there an existing flow for this? Is there a way to verify the MSAL token in the ASP.NET Core backend?

本文标签: reactjsHow to integrate an authentication flow with MSAL and a custom JWTStack Overflow