Skip to content

Commit

Permalink
Update packages/auth/src/providers/cognito/credentialsProvider/creden…
Browse files Browse the repository at this point in the history
…tialsProvider.ts

Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com>
  • Loading branch information
elorzafe and HuiSF authored Aug 29, 2023
1 parent 52205b8 commit 18b6544
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class CognitoAWSCredentialsAndIdentityIdProvider
}

if (!isAuthenticated) {
return await this.getGuestCredentials(identityId, authConfig.Cognito);
return this.getGuestCredentials(identityId, authConfig.Cognito);
} else {
// Tokens will always be present if getCredentialsOptions.authenticated is true as dictated by the type
return this.credsForOIDCTokens(
Expand Down

0 comments on commit 18b6544

Please sign in to comment.