-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
Issue with implementing token refresh functionality #1024
Comments
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues. |
@palisadoes please assign this issue to me |
@rishav-jha-mech @kb-0311 Please comment on this. |
@chandel-aman Refresh Tokens will also need to be configured in the backend as well so please take a look at that. Also while using RT you will also need to take care of the scenario where it might get stolen. How do you plan on addressing that edge case in talawa? |
For the backend part
In the scenario where the refresh token might get stolen
Refresh Token Rotation
Refresh Token Reuse Detection
You can also refer to the following blog post on Auth0: What Are Refresh Tokens and How to Use Them Securely |
@chandel-aman Sue go ahead and submit two PRs one for the front end and one for the api. |
@kb-0311 should i wait for this issue to be assigned or should i start working on it? |
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. |
Describe the bug
The talawa-admin currently lacks the functionality to fetch a new access token using the refresh token once the existing token has expired. The missing functionalities include fetching new access and refresh tokens and storing them in the local storage. User is logged out automatically in between their session and have to enter their credentials again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Actual behavior
The current code currently lacks the ability to perform the automatic refresh access token using the refresh token so as to keep the user logged in while still renewing the access token.
Screenshots
N/A
Additional details
N/A
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359
The text was updated successfully, but these errors were encountered: