Jun 10 2022 10:19 AM
Scenario
I have a simple application setup. An Angular SPA front-end and an ASP.NET Core WebAPI. The Angular front-end application has been registered and loaded into Microsoft Teams. One of the Angular app's features is to request data from an Azure hosted ASP.NET Core WebAPI. The WebAPI is protected using Microsoft Identity Platform.
Issue
In the Microsoft Teams WEB application all is worked as expected. The SSO service I've created works and MSAL in the Angular App is picking up the access_token and successfully authenticates to the ASP.NET Core WebAPI to retrieve the protected payload.
WHY IS THIS NOT WORKING INSIDE THE TEAMS DESKTOP APPLICATION?
What does work is making a request to a PUBLIC (un-protected) webapi. But for PROD, this is NOT an option.
Please help! I've been working on this for too long.
Regards,
Tolga
Jun 12 2022 10:28 PM - edited Jun 13 2022 05:03 AM
kemaltolga - Could you please refer below sample and let us know if you have any query.
Microsoft-Teams-Samples/samples/tab-sso/csharp at main · OfficeDev/Microsoft-Teams-Samples (github.c...
Jun 17 2022 03:00 AM