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

[FC] Reload Auth Session instead of entire PartnerAuth Pane on cancellations #6837

Conversation

carlosmuvi-stripe
Copy link
Collaborator

@carlosmuvi-stripe carlosmuvi-stripe commented Jun 8, 2023

Summary

Issue: When cancelling an AuthSession (ie. closing the browser while authenticating) we:

  1. Create a new AuthSession
  2. emit a Retry AuthSession event
  3. Navigate to the newly created AuthSession nextPane, which on OAuth sessions will be the same pane, PartnerAuth, causing a "Reload"

On these situations Android creates two AuthSessions, one in 2. and another one when reloading in 3.

This PR updates the code to what iOS does - creating a new auth session but staying in the pane.

Motivation

https://jira.corp.stripe.com/browse/BANKCON-7103

Testing

  • Added tests
  • Modified tests
  • Manually verified

@carlosmuvi-stripe carlosmuvi-stripe changed the title carlosmuvi/BANKCON-7103/fc-reload-auth-session-instead-of-entire-partnerau [FC] Reload Auth Session instead of entire PartnerAuth Pane on cancellations Jun 8, 2023
@carlosmuvi-stripe carlosmuvi-stripe marked this pull request as ready for review June 8, 2023 21:30
@carlosmuvi-stripe carlosmuvi-stripe requested review from a team as code owners June 8, 2023 21:30
@carlosmuvi-stripe carlosmuvi-stripe requested review from awush-stripe, jameswoo-stripe and tillh-stripe and removed request for awush-stripe June 8, 2023 21:30
@carlosmuvi-stripe carlosmuvi-stripe merged commit 1bdc7e9 into master Jun 8, 2023
@carlosmuvi-stripe carlosmuvi-stripe deleted the carlosmuvi/BANKCON-7103/fc-reload-auth-session-instead-of-entire-partnerau branch June 8, 2023 21:48
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.

5 participants