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

COIOS-812: Identify native redirect flow (v4) #1886

Merged
merged 7 commits into from
Jan 22, 2025

Conversation

nauaros
Copy link
Contributor

@nauaros nauaros commented Oct 31, 2024

Summary

This development enables us to differentiate between regular and native redirects. To handle cases where native redirects fail (indicated by nativeRedirectData being nil), it's essential to track the originating flow type of each redirect.

Motivation

Native redirect flows can occasionally fail if nativeRedirectData is nil within the action object. Currently, we handle this by discarding the native redirect (checking if nativeRedirectData is nil), and defaulting to a "direct issuer flow" using a /details call.

To avoid the additional steps of the "direct issuer flow," we can address this issue on the backend. By identifying the native redirect flow, we can still retrieve the native redirect result directly.

Release notes

  • Added support for distinguishing between regular and native redirects to improve handling of failed native redirect flows.

Ticket

COIOS-812

@nauaros nauaros changed the title COIOS-812: Identify native redirect flow COIOS-812: Identify native redirect flow (v4) Oct 31, 2024
Copy link

sonarqubecloud bot commented Nov 4, 2024

@nauaros nauaros self-assigned this Nov 5, 2024
@nauaros nauaros added the new a pull request that adds a new feature label Nov 14, 2024
goergisn
goergisn previously approved these changes Nov 14, 2024
@nauaros nauaros marked this pull request as ready for review January 13, 2025 15:30
goergisn
goergisn previously approved these changes Jan 15, 2025
AdyenActions/Actions/RedirectAction.swift Outdated Show resolved Hide resolved
@goergisn goergisn requested review from goergisn and atmamont January 21, 2025 13:51
@nauaros nauaros merged commit 20a5be9 into v4 Jan 22, 2025
7 checks passed
@nauaros nauaros deleted the COIOS-812_identify_native_redirect_flow branch January 22, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new a pull request that adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants