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

Reuse saved JWT auth token until it expire #69

Open
5 tasks done
lukasmatusiewicz opened this issue Dec 12, 2024 · 0 comments · May be fixed by #70
Open
5 tasks done

Reuse saved JWT auth token until it expire #69

lukasmatusiewicz opened this issue Dec 12, 2024 · 0 comments · May be fixed by #70
Assignees
Labels
Type: Enhancement New feature (internally/planned) or enhancement of existing feature
Milestone

Comments

@lukasmatusiewicz
Copy link
Contributor

lukasmatusiewicz commented Dec 12, 2024

  • Decode the token.
  • Save the expiration time.
  • Retrieve the token again shortly before the expiration time.
  • Shut down the scheduler right after completing authentication.
  • Wait with other requests for a token if needed.
@lukasmatusiewicz lukasmatusiewicz self-assigned this Dec 16, 2024
@lukasmatusiewicz lukasmatusiewicz added the Type: Enhancement New feature (internally/planned) or enhancement of existing feature label Dec 31, 2024
@lukasmatusiewicz lukasmatusiewicz added this to the v1.3.0 milestone Dec 31, 2024
@lukasmatusiewicz lukasmatusiewicz linked a pull request Dec 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature (internally/planned) or enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant