Skip to content

[minor][Feature]: Introduce UFIC into API contract#1670

Merged
agubuzomaximus merged 10 commits intodevfrom
maagubuzo/ufic/introduce_ufic_into_api_contract
Jan 30, 2026
Merged

[minor][Feature]: Introduce UFIC into API contract#1670
agubuzomaximus merged 10 commits intodevfrom
maagubuzo/ufic/introduce_ufic_into_api_contract

Conversation

@agubuzomaximus
Copy link
Contributor

PR Title Format

Required Format: [Keyword1] [Keyword2]: Description

  • Keyword1: major, minor, or patch (case-insensitive)
  • Keyword2: feature, bugfix, engg, or tests (case-insensitive)

Examples:

  • [MAJOR] [Feature]: new API
  • [minor] [bugfix]: fix crash
  • [PATCH][tests]:add coverage

Proposed changes

Describe what this PR is trying to do.

Type of change

  • Feature work
  • Bug fix
  • Documentation
  • Engineering change
  • Test
  • Logging/Telemetry

Risk

  • High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
  • Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
  • Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

Maximus Agubuzo added 2 commits January 21, 2026 13:37
@@ -132,6 +132,7 @@ extern NSString * _Nonnull const MSID_APP_VER_KEY;
extern NSString * _Nonnull const MSID_CCS_HINT_KEY;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not update changelog.txt.

Please consider if this change would be noticeable to a partner or user and either update changelog.txt or resolve this conversation.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces UFIC (User Federated Identity Credential) support into the API contract for OneAuth internal automation testing. The token will be passed through the authentication flow and consumed by ESTS as a form of MFA.

Changes:

  • Added userFederatetedIdentityToken property to MSIDInteractiveTokenRequestParameters
  • Added constant MSID_USER_FEDERATED_IDENTITY_CREDENTIAL_KEY for the header name
  • Integrated the token into broker operation flow and web view custom headers

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
IdentityCore/src/MSIDConstants.h Added constant declaration for UFIC header key
IdentityCore/src/MSIDConstants.m Added constant definition for UFIC header value
IdentityCore/src/parameters/MSIDInteractiveTokenRequestParameters.h Added property for user federated identity token
IdentityCore/src/broker_operation/request/interactive_token_request/MSIDBrokerOperationInteractiveTokenRequest.h Added property to broker operation request
IdentityCore/src/broker_operation/request/interactive_token_request/MSIDBrokerOperationInteractiveTokenRequest.m Added token assignment and JSON serialization
IdentityCore/src/requests/MSIDInteractiveAuthorizationCodeRequest.m Added token to web view custom headers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tongyuze
Copy link
Contributor

Can you please do some manual tests to see if the header can be passed in broker request?

@agubuzomaximus
Copy link
Contributor Author

Can you please do some manual tests to see if the header can be passed in broker request?

Yes, that logic is within a separate PR. This PR is for you to pass the JWT into common core. In another PR I will accept that value from common core and route from broker to web view headers.

Maximus Agubuzo and others added 3 commits January 25, 2026 23:01
ero "exit merge editor" | git merge --continue 2>/dev/null || git log --oneline -3
t branch
e branch 'dev' into maagubuzo/ufic/introduce_ufic_into_api_contract
@agubuzomaximus agubuzomaximus changed the title Introduce UFIC into api contract [minor][Feature]: Introduce UFIC into API contract Jan 27, 2026
@agubuzomaximus agubuzomaximus merged commit 361d005 into dev Jan 30, 2026
17 of 19 checks passed
ameyapat added a commit that referenced this pull request Jan 31, 2026
* dev:
  [minor][Feature]: Introduce UFIC into API contract (#1670)
  remove rt from UT (#1675)
ameyapat added a commit that referenced this pull request Feb 5, 2026
* dev: (69 commits)
  [minor][Feature]: Introduce UFIC into API contract (#1670)
  remove rt from UT (#1675)
  [minor][Feature]: Add ecs flags to disable pop & claims in browser core. (#1673)
  [minor][Feature]: Support POP and claims in browser core (#1671)
  Add new option into MSIDRequestParameters to skip cache on broker response (#1661)
  CC:Reattah PRT for authorize endpoint after redirect for Mobile Onboarding (#1638)
  Release/1.19.0 to Dev (#1669)
  Try to use "Use my password" button after "Other ways to sign in"
  Add PR title format guidelines
  Update pr-title-lint.yml
  Update .github/workflows/pr-title-lint.yml
  Change PR title lint workflow to use 'dev' branch
  Add explicit minimal permissions to PR title lint workflow
  Add PR title lint workflow using centralized validation
  Initial plan
  Add CPP exclude macro
  Add back macro
  Removing macro
  Correct case
  Fixing case
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments