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

Use refresh token on 401 api responses #131

Merged
merged 17 commits into from
Sep 18, 2024
Merged

Conversation

tuj
Copy link
Contributor

@tuj tuj commented Sep 16, 2024

Link to ticket

https://leantime.itkdev.dk/#/tickets/showTicket/2478

Description

  • Moved localstorage calls into helper class AppStorage.
  • Cleaned up project structure.
  • Fixed async flow for release check.
  • Added previous boot timestamp (pb) to url.
  • Try to refresh token on reauthenticate event.
  • Added status and error to url.
  • Added error code to login page, if set.

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

@tuj tuj self-assigned this Sep 18, 2024
@tuj tuj added the enhancement New feature or request label Sep 18, 2024
@tuj tuj marked this pull request as ready for review September 18, 2024 08:36
@tuj tuj requested a review from turegjorup September 18, 2024 08:36
@tuj tuj merged commit 56d9bf9 into develop Sep 18, 2024
4 checks passed
@tuj tuj deleted the feature/2478-refresh-token branch September 18, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants