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

GW refactoring: Create service that refreshes tokens #624

Open
olevski opened this issue Feb 1, 2023 · 2 comments
Open

GW refactoring: Create service that refreshes tokens #624

olevski opened this issue Feb 1, 2023 · 2 comments

Comments

@olevski
Copy link
Member

olevski commented Feb 1, 2023

This service has a limited set of responsibilities:

  • periodically check all access tokens stored in redis and refresh any that will soon expire
  • remove any access tokens that are expired and whose refresh tokens are also expired
  • upon removing tokens modify any sessions that exist that reference access tokens that have been removed
  • upon removing tokens from a session if any session has no other valid tokens left then remove the session (please note that anonymous sessions will be valid sessions that can "live" without having any tokens)
@olevski
Copy link
Member Author

olevski commented Feb 1, 2023

Redis DB structure: #619

@olevski
Copy link
Member Author

olevski commented Feb 1, 2023

To be done after #625

@m-alisafaee m-alisafaee moved this from Backlog to Ready in renku-python Feb 9, 2023
@olevski olevski moved this from Ready to Done in renku-python Feb 22, 2023
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

No branches or pull requests

1 participant