Skip to content

Integrate SSO renewal with credential resolution - #408

Draft
cloudsmith-iduffy wants to merge 2 commits into
cloudsmith-iduffy-harden-sso-renewalfrom
cloudsmith-iduffy-integrate-sso-credentials
Draft

Integrate SSO renewal with credential resolution#408
cloudsmith-iduffy wants to merge 2 commits into
cloudsmith-iduffy-harden-sso-renewalfrom
cloudsmith-iduffy-integrate-sso-credentials

Conversation

@cloudsmith-iduffy

Copy link
Copy Markdown
Contributor

Summary

  • integrate the core SSO renewal result API into keyring credential resolution
  • retain usable SSO tokens on transient renewal failures while rejecting dead sessions and continuing the provider chain
  • skip automatic renewal for authentication commands and emit precise fallback warnings without introducing early CLI errors

Testing

  • pytest -q cloudsmith_cli/core/tests/test_keyring_provider.py cloudsmith_cli/cli/tests/test_decorators.py
  • pre-commit run --files cloudsmith_cli/core/credentials/models.py cloudsmith_cli/core/credentials/providers/keyring_provider.py cloudsmith_cli/cli/decorators.py cloudsmith_cli/core/tests/test_keyring_provider.py cloudsmith_cli/cli/tests/test_decorators.py

Stacked on #407.

@cloudsmith-iduffy
cloudsmith-iduffy force-pushed the cloudsmith-iduffy-integrate-sso-credentials branch from a966ece to b680c45 Compare September 2, 2026 23:29
@cloudsmith-iduffy
cloudsmith-iduffy force-pushed the cloudsmith-iduffy-integrate-sso-credentials branch from b680c45 to 20e718b Compare September 3, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant