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

Create an efficient session management system. #2356

Closed
Azad99-9 opened this issue Jan 27, 2024 · 2 comments · Fixed by #2362
Closed

Create an efficient session management system. #2356

Azad99-9 opened this issue Jan 27, 2024 · 2 comments · Fixed by #2362
Assignees
Labels

Comments

@Azad99-9
Copy link
Contributor

Azad99-9 commented Jan 27, 2024

Is your feature request related to a problem? Please describe.
The current state of the Talawa app lacks a dedicated and efficient session management mechanism. Consequently, the refreshToken method and other resources related to user sessions are not being utilized optimally. This has resulted in several challenges:

Token Refresh Overhead:
The absence of a streamlined session management system leading to the unnecessary refresh of tokens before each API call. This redundancy poses an overhead on the client side, impacting the app's performance and responsiveness.

Conflicts with Refresh Tokens:
Inconsistent handling of token refreshes is leading to unintended behavior.

App Crashes in Edge Cases:
In certain edge use cases like switching orgs repeatedly, the absence of a session management strategy is causing app crashes.

Describe the solution you'd like
Implement a proper and centralized session management mechanism in the application. So that the user sessions are handled effieciently.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Approach to be followed (optional)
A clear and concise description of approach to be followed.

Additional context

related issues:

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship #359

@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Jan 27, 2024
@Azad99-9
Copy link
Contributor Author

@Cioppolo14 please assign me this issue.

@Cioppolo14 Cioppolo14 removed the unapproved Unapproved, needs to be triaged label Jan 27, 2024
Copy link

github-actions bot commented Feb 7, 2024

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants