Worked like a charm, thank you. I was looking for this, saved me hours. I Needed 2 things for it to work though:
Removed "onmicrosoft.com" from MSALInstanceFactory in angular app.module.ts
I needed to select "expose an API" in Azure and generate an Application ID URI and set the audience in appSetting.json in the API as the clientId (the same guid as is in the URI). (I'm not 100% sure if really need to generate this or just using the clientId is enough.)
regards,
Olafur
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Worked like a charm, thank you. I was looking for this, saved me hours. I Needed 2 things for it to work though:
regards,
Olafur