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

PIA-1290: Fix issue where the login screen was presented start on a cold start #68

Conversation

kp-juan-docal
Copy link
Contributor

Summary

It fixes an issue where the login screen was being presented twice when opening the application while logged out. This is due to the logic updating tokens failing (no known token). This failure is handled as a 401 by the API, which in turn triggers the logic to logout the user, presenting it with the login screen. All that logic is valid, which means I'm just validating that we navigate to the login screen if we are logged in.

Sanity Tests

  • Install the app. Open the application. Confirm we are not presented with the login screen twice.

Copy link
Collaborator

@kp-iva-nedeleva kp-iva-nedeleva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kp-juan-docal kp-juan-docal merged commit 7d2c49a into master Feb 7, 2024
3 checks passed
@kp-juan-docal kp-juan-docal deleted the juan.docal/PIA-1290-fix-issue-where-login-screen-was-presented-twice-on-cold-start branch February 7, 2024 14:22
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