Support for Azure App Service Authentication (Easy Auth) in msas-angular #3836
jwevansgam
started this conversation in
Feedback
Replies: 1 comment 4 replies
-
@jwevansgam there are no plans at the moment to support EasyAuth with MSAL.js. As you mention, you don't need EasyAuth if you are using MSAL.js That being said, I have in backlog to build a sample that uses EasyAuth and could possibly look into how to switch between MSAL and EasyAuth authentication. This will be coming out in the next couple of weeks but unfortunately I don't have an ETA at the moment. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on migrating an angular app which calls an ASP.NET Core Api to Azure. I am using App Service Authentication when hosted in Azure but I also have the scenario where I am developing locally and would like to use AAD authentication. I have read some of the previous discussions on the use of Easy Auth with MSAL and the guidance has been that MASL isn't required if you are using Easy Auth. I'd just like to check if this is still the case as I think there would be a big benefit to developers if it was possible to integrate the two, specifically Easy Auth and msal-angular and have them work together.
As an example I have been working with the Microsoft.Identity.Web ASP.NET Core library which is part of the Microsoft Identity Platform and this integrates really well with Easy Auth, it detects if the user has been authenticated using Easy Auth and if so gets the tokens from the headers created by Easy Auth and constructs a Claims Identity which can be used in ASP.NET Core code, if the user is not authenticated the middleware will perform the authentication using the configuration provided and then create the Claims Identity, it works seamlessly with both.
This might not even be possibly but just putting it out there as an idea - let me know your thoughts
Beta Was this translation helpful? Give feedback.
All reactions