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

Fix possible auth caching issue #453

Merged

Conversation

Arkatufus
Copy link
Contributor

Issue

A user reported that DefaultAzureCredential might be cached inside the journal and snapshot classes, causing them to consistently fail if the credential was rejected on the first REST call.

Changes

Make sure that all Azure clients are created on demand. Azure client classes are thin REST clients, using cached clients might not be the best solution because the internal states inside the client should not be persisted between use.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

LGTM

@Aaronontheweb Aaronontheweb merged commit f47e319 into petabridge:dev Dec 3, 2024
2 checks passed
Aaronontheweb added a commit that referenced this pull request Dec 4, 2024
Aaronontheweb added a commit that referenced this pull request Dec 4, 2024
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