Skip to content

Conversation

Copy link

Copilot AI commented Dec 11, 2025

Enables Relying Parties to customize IDV flows by specifying which screens to omit via the suppressed_screens parameter in sdk_config.

Changes

  • SdkConfig: Added optional suppressed_screens parameter (list of screen identifiers), property accessor, and JSON serialization
  • SdkConfigBuilder: Added with_suppressed_screens() builder method
  • Tests: Added coverage for list values, empty lists, None defaults, and JSON serialization

Usage

sdk_config = (
    SdkConfigBuilder()
    .with_allows_camera_and_upload()
    .with_suppressed_screens(["consent_screen", "document_selection"])
    .with_success_url("https://example.com/success")
    .build()
)

The parameter is optional and defaults to None when not specified, maintaining backward compatibility.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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