Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] WithFmiPath(string pathSuffix) #5110

Closed
bgavrilMS opened this issue Feb 4, 2025 · 0 comments
Closed

[Feature Request] WithFmiPath(string pathSuffix) #5110

bgavrilMS opened this issue Feb 4, 2025 · 0 comments
Assignees
Milestone

Comments

@bgavrilMS
Copy link
Member

bgavrilMS commented Feb 4, 2025

MSAL client type

Confidential

Problem statement

FMI tokens, Entra's solution for SPIFEE

Proposed solution

Create a new API on AcquireTokenForClient - WithFmiPath(string pathSuffix). . It shall be experimental for the time being.

Internally, it will do the following.

  1. It will add fmi_path={pathSuffix} to the /token request
  2. It will change the access token cache key by adding fmi_path to the cache key

We should be able to write integration tests for this. Upon requesting an FMI token, the sub claim will be changed to contain the fmi_path.

THe new API is experimental.

Acceptance test: get an app token with an FMI path and assertr that the sub claim has the FMI path.

@bgavrilMS bgavrilMS added needs attention Delete label after triage untriaged Do not delete. Needed for Automation Feature Request and removed untriaged Do not delete. Needed for Automation needs attention Delete label after triage labels Feb 4, 2025
@trwalke trwalke mentioned this issue Feb 6, 2025
1 task
@bgavrilMS bgavrilMS added this to the 4.68.0 milestone Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants