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

Instantiate SSO service only once #5

Merged
merged 3 commits into from
Mar 20, 2021

Conversation

eduardomourar
Copy link
Contributor

To simplify testing and improve performance, we should only have a single SSO service in the provider.

Exactly how it is done in the EC2 metadata credentials provider (and others): https://github.com/aws/aws-sdk-js/blob/2f68b291e1aa3137c2389bf48ac3d251f18c61f5/lib/credentials/ec2_metadata_credentials.js#L46

@ljacobsson
Copy link
Member

Thanks for this @eduardomourar!

I've done some manual testing and it's looking good.

Will merge and release

@ljacobsson ljacobsson merged commit f27c18c into mhlabs:master Mar 20, 2021
@eduardomourar eduardomourar deleted the feature/support-typescript branch March 20, 2021 22:55
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