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

Support networking relink flows #4523

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

tillh-stripe
Copy link
Collaborator

@tillh-stripe tillh-stripe commented Jan 31, 2025

Summary

This pull request adds support for networking relink flows in Financial Connections and Instant Bank Payments.

We reuse the existing partner auth pane, but add an optional RelinkSessionPayload to PartnerAuthDataSourceImplementation. Depending on this payload, we either create an auth session or a repair session; the latter of which we then map to an auth session on the client.

This pull request also includes the minor tweak to hide the secondary button in this flow.

Motivation

Testing

Changelog

@tillh-stripe tillh-stripe force-pushed the tillh/fc-support-relink branch 2 times, most recently from a25781c to ab4ac56 Compare January 31, 2025 15:28
Copy link

github-actions bot commented Jan 31, 2025

🚨 New dead code detected in this PR:

UIColor+Extensions.swift:34 warning: Property 'textBrand' is unused
UIColor+Extensions.swift:38 warning: Property 'textDisabled' is unused
UIColor+Extensions.swift:42 warning: Property 'textCritical' is unused
UIColor+Extensions.swift:50 warning: Property 'textSuccess' is unused
UIColor+Extensions.swift:70 warning: Property 'borderCritical' is unused
UIColor+Extensions.swift:90 warning: Property 'neutral0' is unused
UIColor+Extensions.swift:114 warning: Property 'neutral300' is unused
UIColor+Extensions.swift:118 warning: Property 'neutral500' is unused
UIColor+Extensions.swift:138 warning: Property 'brand100' is unused
UIColor+Extensions.swift:150 warning: Property 'critical500' is unused
UIColor+Extensions.swift:158 warning: Property 'success100' is unused
UIColor+Extensions.swift:162 warning: Property 'success500' is unused
UIColor+Extensions.swift:182 warning: Function 'dynamic(light:dark:)' is unused
DropdownFieldElement.swift:10 warning: Imported module 'StripeCore' is unused
DropdownFieldElement.swift:267 warning: Parameter 'pickerView' is unused

Please remove the dead code before merging.

If this is intentional, you can bypass this check by adding the label skip dead code check to this PR.

ℹ️ If this comment appears to be left in error, double check that the flagged code is actually used and/or make sure your branch is up-to-date with master.

@tillh-stripe tillh-stripe force-pushed the tillh/fc-support-relink branch from ab4ac56 to 4c2a151 Compare January 31, 2025 15:38
@tillh-stripe tillh-stripe force-pushed the tillh/fc-support-relink branch 2 times, most recently from d076bff to 820d1a7 Compare January 31, 2025 16:09
@tillh-stripe tillh-stripe force-pushed the tillh/fc-repair-flow branch 3 times, most recently from 94eb9fb to 841b0fa Compare February 3, 2025 13:51
Base automatically changed from tillh/fc-repair-flow to master February 3, 2025 22:19
@tillh-stripe tillh-stripe force-pushed the tillh/fc-support-relink branch 2 times, most recently from 32f301b to 21a9adc Compare February 4, 2025 19:30
- Don't return `.canceled` for networking relink sessions
- Don't use custom success message in this case
@tillh-stripe tillh-stripe force-pushed the tillh/fc-support-relink branch from fcf5ba2 to f82ae1e Compare February 7, 2025 18:25
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.

1 participant