Skip to content

Commit

Permalink
Merge pull request #46 from RyanShendler/fix/sso-auth-region-mismatch
Browse files Browse the repository at this point in the history
Ensure SSO region is not overridden by the client region
  • Loading branch information
fwang authored Feb 17, 2025
2 parents 9662444 + 7f50501 commit feceec6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/three-cows-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"sst": patch
---

Ensure SSO region is not overridden by the client region
2 changes: 1 addition & 1 deletion packages/sst/src/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useAWSCredentialsProvider = lazy(() => {
const project = useProject();
Logger.debug("Using AWS profile", project.config.profile);
const provider = fromNodeProviderChain({
clientConfig: { region: project.config.region },
parentClientConfig: { region: project.config.region },
profile: project.config.profile,
roleArn: project.config.role,
mfaCodeProvider: async (serialArn: string) => {
Expand Down

0 comments on commit feceec6

Please sign in to comment.