AzureAD / microsoft-authentication-library-for-dotnet

Microsoft Authentication Library (MSAL) for .NET
https://aka.ms/msal-net
MIT License
1.37k stars 337 forks source link

Support dynamic outgoing policies #4899

Open sarossma opened 3 weeks ago

sarossma commented 3 weeks ago

MSAL client type

Confidential

Problem statement

MSAL library does not have the proper mechanism for Webinars V1 service to get tokens to call into SharePoint sites. The MSAL library allows for accepting/validating tokens that are passed into Webinars V1 with a dynamic audience/URL, but our calls to SharePoint need to have the audience set specifically for the target user's Site. The MSAL library does not currently allow for setting dynamic outgoing "policies".

Proposed solution

Add support for setting dynamic outgoing policies

Alternatives

No response

jmprieur commented 3 weeks ago

@sarossma this is supported by Microsoft..Identity.Web (Downstream APIs) Are you 1P?

sarossma commented 3 weeks ago

Yes

From: Jean-Marc Prieur @.> Sent: Monday, August 19, 2024 7:39 PM To: AzureAD/microsoft-authentication-library-for-dotnet @.> Cc: Sabra Rossman @.>; Mention @.> Subject: Re: [AzureAD/microsoft-authentication-library-for-dotnet] Support dynamic outgoing policies (Issue #4899)

@sarossmahttps://github.com/sarossma this is supported by Microsoft..Identity.Web (Downstream APIs) Are you 1P?

- Reply to this email directly, view it on GitHubhttps://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4899#issuecomment-2297854146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP23O3SDRI73IF53DYNODZLZSKT4RAVCNFSM6AAAAABMYUG576VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXHA2TIMJUGY. You are receiving this because you were mentioned.Message ID: @.**@.>>

sarossma commented 3 weeks ago

For 1P app what is the suggested solution?