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

[Android] Acess Token Refresh Mechanism #83

Closed
HamzaIsrar12 opened this issue Nov 3, 2023 · 3 comments · Fixed by #84
Closed

[Android] Acess Token Refresh Mechanism #83

HamzaIsrar12 opened this issue Nov 3, 2023 · 3 comments · Fixed by #84
Assignees

Comments

@HamzaIsrar12
Copy link
Contributor

User sessions often require continuous access to our system, and currently, our access token management lacks a mechanism for seamless refresh. This poses a challenge as users are frequently interrupted due to expiring access tokens, resulting in a suboptimal user experience.

@marcotuts
Copy link
Contributor

How does this overlap with the JWT Token work linked here? - https://github.com/orgs/openedx/projects/56/views/7?filterQuery=&pane=issue&itemId=41392390

Is this additional improvement to that for refresh specifically?

@HamzaIsrar12
Copy link
Contributor Author

You linked the wrong issue. This is for Android: #59.

Yeap, it's a much-needed improvement. Looking back, the above issue should have tested the basic refresh flow for JWT auth. This is crucial to prevent unexpected logouts and make the user experience better.

I've already done something about it by creating a pull request that not only fixes the issue by adding the needed refresh mechanism but also makes it work better, which improves the whole system.

@marcotuts
Copy link
Contributor

FYI @volodymyr-chekyrta on related JWT effort - https://github.com/orgs/openedx/projects/56/views/7?filterQuery=&pane=issue&itemId=41392419 is the Android ticket not the iOS one linked above. Thanks for clarifying @HamzaIsrar12

@marcotuts marcotuts moved this to In Development in Open edX Mobile Roadmap Nov 9, 2023
@HamzaIsrar12 HamzaIsrar12 moved this from In Development to In Code Review / Final Acceptance in Open edX Mobile Roadmap Nov 14, 2023
@nizmaylova nizmaylova changed the title Acess Token Refresh Mechanism [Android] [Android] Acess Token Refresh Mechanism Nov 16, 2023
@HamzaIsrar12 HamzaIsrar12 moved this from In Code Review / Final Acceptance to Done in Open edX Mobile Roadmap Nov 24, 2023
@HamzaIsrar12 HamzaIsrar12 linked a pull request May 6, 2024 that will close this issue
5 tasks
k1rill pushed a commit to touchapp/openedx-app-android that referenced this issue Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants