Skip to content

[Feature Request] MSAL.NET should have a mechanism to pass-in an FmiPath to the client assertion delegate #5342

Closed
@jmprieur

Description

@jmprieur

MSAL client type

Confidential

Problem statement

In some flows, developers want to call AcquireTokenForClient and AcquireTokenOnBehalfOf with client credentials, obtained by exchanging an MSI token while providing an fmiPath

Proposed solution

  1. Add a new WithFmiPathForClientAssertion modifier on AcquireTokenForClientBuilder and AcquireTokenOnBehalfOfBuilder:
cca.AcquireTokenForClient
  .WithFmiPathForClientAssertion(clientAssertionFmiPath)
  1. Add a new property ClientAssertionFmiPath in AssertionRequestOptions
class AssertionRequestOptions
{
 //... current properties
  string ClientAssertionFmiPath {get;set;}
}
  1. MSAL should provide back the clientAssertionFmiPath in the AssertionRequestOptions.ClientAssertionFmiPath property passed-in to the client assertion delegate.

Alternatives

Do several MSAL calls, but this won't work with IdWeb / MISE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions