We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 047121c + 9e2aaa5 commit 51cb734Copy full SHA for 51cb734
src/Amazon.Extensions.CognitoAuthentication/CognitoUserAuthentication.cs
@@ -63,6 +63,11 @@ public virtual async Task<AuthFlowResponse> StartWithSrpAuthAsync(InitiateSrpAut
63
Tuple<BigInteger, BigInteger> tupleAa = AuthenticationHelper.CreateAaTuple();
64
InitiateAuthRequest initiateRequest = CreateSrpAuthRequest(tupleAa);
65
66
+ if (srpRequest.ClientMetadata != null)
67
+ {
68
+ initiateRequest.ClientMetadata = new Dictionary<string, string>(srpRequest.ClientMetadata);
69
+ }
70
+
71
if (srpRequest.IsCustomAuthFlow)
72
{
73
initiateRequest.AuthFlow = AuthFlowType.CUSTOM_AUTH;
0 commit comments