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(credential-provider-ini): pass clientConfig to sso and sso-oidc inner clients #6688

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 22, 2024

Issue

addresses #6687

Description

This change ensures clientConfig, a property shared by many credential providers, is used as the initialization config for all inner clients including SSO and SSOOIDC. Currently, it is only passed through for CognitoIdentity and STS clients.

Testing

manual SSO testing

  • add unit tests

@@ -1,23 +1,18 @@
const ssoOidcClientsHash: Record<string, any> = {};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed this caching functionality. Credentials are cached already, there should be no need to cache the client as well. Caching the client conflicts with being able to configure the client, since this cache exposes no method to clear it.

@kuhe kuhe merged commit 0ca3da3 into aws:main Nov 22, 2024
4 checks passed
@kuhe kuhe deleted the fix/sso branch November 22, 2024 18:24
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