Replies: 1 comment
-
I now have this working but would still be intertested in hearing more about replacing EasyAuth with Microsoift Identity Web I am now just using ConfidentialClientApplicationBuilder to get the token and I am no longer trying to initialise MS Ideneoty Web in Startup
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Azure Function v3
Microsoft.Identity.Web
We have an Azure Function that is secured to Azure B2C accounts and that is configured using EasyAuth in the Azure Portal
Until recently that was sufficient but now the Azure Function needs to call one of our App Services that is secured by Azure Ad. The Azure Function would be calling the WebAPI in the context of the function rather than on behalf of the User.
I was planning on initialising MicrosoftIdentityWeb using
this works great when run on my local machine but EasyAuth does not run locally. Once i deploy this code into Azure the function crumbles. Not only can our clients no longer call the function, the Azure Portal reports errors with the function being unable to talk to it's own configuration.
Now that I look at
AddAuthentication
call I can see that obviously affects all the client endpoints in the function that will clearly clash with ther EasyAuth configBeta Was this translation helpful? Give feedback.
All reactions