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

Setup token refresh system based on token expiry #30

Merged
merged 2 commits into from
Aug 24, 2024

Conversation

ryanhristovski
Copy link
Member

This PR improves how we handle tokens by reading the exact expiration time from the JWT. Now, the client only refreshes the token when it really needs to, making things more efficient and cutting down on extra requests.

@ryanhristovski ryanhristovski requested a review from a team as a code owner August 23, 2024 16:50
go.mod Outdated Show resolved Hide resolved
@ryanhristovski ryanhristovski merged commit 591816a into docker:main Aug 24, 2024
1 check passed
@ryanhristovski ryanhristovski deleted the token-refresh branch August 24, 2024 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants