Skip to content

Conversation

Copy link

Copilot AI commented Nov 28, 2025

Adds optional brand_id property to SDK configuration for applying consistent themes across IDV sessions.

Changes

  • Added brand_id optional string parameter to SdkConfig class
  • Added with_brand_id() builder method to SdkConfigBuilder
  • Included brand_id in JSON serialization (auto-removed when null)
  • Added unit tests for default behavior, setter, and serialization

Usage

sdk_config = (
    SdkConfigBuilder()
    .with_allows_camera_and_upload()
    .with_brand_id("brand-123")  # Apply branded theme
    .with_success_url("https://example.com/success")
    .with_error_url("https://example.com/error")
    .build()
)

The property follows the same optional parameter pattern as allow_handoff and privacy_policy_url.


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

Copilot AI self-assigned this Nov 28, 2025
Copilot AI changed the title [WIP] Add IDV support for brand ID in session config Add brand_id support to IDV session configuration Nov 28, 2025
Copilot AI requested a review from mehmet-yoti November 28, 2025 11:44
Copilot finished work on behalf of mehmet-yoti November 28, 2025 11:44
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