Skip to content

fix(auth): refresh token before expiration, use locks while refreshing - #9045

Merged
cgoetz-inovex merged 3 commits into
mainfrom
fix/STACKITSDK-412-token-leeway
Oct 5, 2026
Merged

cgoetz-inovex merged 3 commits into
mainfrom
fix/STACKITSDK-412-token-leeway

Conversation

@cgoetz-inovex

Copy link
Copy Markdown
Contributor

Description

relates to #3535

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs and versioning
    • Changelog in root directory was adjusted (see here)
    • Changelog of the service(s) was adjusted (see e.g. here)
    • pyproject.toml of the service(s) was adjusted (see e.g. here)
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@cgoetz-inovex
cgoetz-inovex requested a review from a team as a code owner August 31, 2026 12:42
@github-actions

Copy link
Copy Markdown

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

@github-actions github-actions Bot added the Stale label Sep 25, 2026

@SerseusWasTaken SerseusWasTaken left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also suggest to add a test for the case that the refresh call fails. I think we have a gap here

Comment thread core/src/stackit/core/auth_methods/key_auth.py
@github-actions github-actions Bot removed the Stale label Oct 2, 2026
@cgoetz-inovex
cgoetz-inovex merged commit dc4538c into main Oct 5, 2026
11 checks passed
@cgoetz-inovex
cgoetz-inovex deleted the fix/STACKITSDK-412-token-leeway branch October 5, 2026 13:21
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.

2 participants