Skip to content

Commit 19ebeaf

Browse files
author
awstools
committed
feat(client-cognito-identity-provider): Remove SigV4 auth requirement for GetTokensFromRefreshToken
1 parent 1a741cc commit 19ebeaf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

clients/client-cognito-identity-provider/src/auth/httpAuthSchemeProvider.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ export const defaultCognitoIdentityProviderHttpAuthSchemeProvider: CognitoIdenti
148148
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
149149
break;
150150
}
151+
case "GetTokensFromRefreshToken": {
152+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
153+
break;
154+
}
151155
case "GetUser": {
152156
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
153157
break;

codegen/sdk-codegen/aws-models/cognito-identity-provider.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10274,7 +10274,9 @@
1027410274
}
1027510275
],
1027610276
"traits": {
10277-
"smithy.api#documentation": "<p>Given a refresh token, issues new ID, access, and optionally refresh tokens for the\n user who owns the submitted token. This operation issues a new refresh token and\n invalidates the original refresh token after an optional grace period when refresh token\n rotation is enabled. If refresh token rotation is disabled, issues new ID and access\n tokens only.</p>"
10277+
"smithy.api#auth": [],
10278+
"smithy.api#documentation": "<p>Given a refresh token, issues new ID, access, and optionally refresh tokens for the\n user who owns the submitted token. This operation issues a new refresh token and\n invalidates the original refresh token after an optional grace period when refresh token\n rotation is enabled. If refresh token rotation is disabled, issues new ID and access\n tokens only.</p>",
10279+
"smithy.api#optionalAuth": {}
1027810280
}
1027910281
},
1028010282
"com.amazonaws.cognitoidentityprovider#GetTokensFromRefreshTokenRequest": {

0 commit comments

Comments
 (0)