Skip to content

Add suppressed_screens configuration support for IDV shortened flow#522

Draft
Copilot wants to merge 2 commits into
feature/SDK-2612-DotNet-idv---support-configuration-for-idv-shortened-flowfrom
copilot/sub-pr-521
Draft

Add suppressed_screens configuration support for IDV shortened flow#522
Copilot wants to merge 2 commits into
feature/SDK-2612-DotNet-idv---support-configuration-for-idv-shortened-flowfrom
copilot/sub-pr-521

Conversation

Copy link
Copy Markdown

Copilot AI commented Dec 11, 2025

Implements SDK-side support for the suppressed_screens configuration parameter, enabling IDV flow screen suppression for shortened user experiences.

Changes

  • SdkConfig: Added SuppressedScreens property with JSON serialization as suppressed_screens
  • SdkConfigBuilder:
    • WithSuppressedScreen(string) - adds individual screens, prevents duplicates
    • WithSuppressedScreens(List<string>) - replaces entire list
  • Tests: 8 unit tests covering single/multiple screens, duplicates, replacement behavior, null handling

Usage

var sdkConfig = new SdkConfigBuilder()
    .WithLocale("en")
    .WithSuccessUrl("https://example.com/success")
    .WithSuppressedScreen("intro")
    .WithSuppressedScreen("privacy_policy")
    .Build();

Serializes to:

{
  "locale": "en",
  "success_url": "https://example.com/success",
  "suppressed_screens": ["intro", "privacy_policy"]
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mehmet-yoti <111424390+mehmet-yoti@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for IDV shortened flow configuration Add suppressed_screens configuration support for IDV shortened flow Dec 11, 2025
Copilot AI requested a review from mehmet-yoti December 11, 2025 11:40
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.

2 participants