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

fix: Ensure cookies authentication prior to webview loading #312

Merged
merged 1 commit into from
May 6, 2024

Conversation

HamzaIsrar12
Copy link
Contributor

Description

Ensure cookies' expiry time is verified before loading an authenticated web view and address a race condition within the clearWebViewCookie method. This race condition caused the premature reset of authSessionCookieExpiration to -1 due to delays in the callback execution.

Closes #306

Ensure cookies' expiry time is verified before loading a webview.
Additionally, addressed a race condition within the
`clearWebViewCookie` method. This race condition caused the
premature reset of `authSessionCookieExpiration` to -1 due to delays
in the callback execution.

Fixes: LEARNER-9891
@HamzaIsrar12 HamzaIsrar12 linked an issue May 5, 2024 that may be closed by this pull request
@HamzaIsrar12 HamzaIsrar12 merged commit 223fc43 into openedx:develop May 6, 2024
3 checks passed
@HamzaIsrar12 HamzaIsrar12 deleted the fix/refresh_cookies branch May 6, 2024 11:38
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.

[Android] Cookie Refresh Mechanism
3 participants