AWS Cognito IntitiateAuth: Missing required parameter UserName
It should be in AuthParameters, not ClientMetadata.
I believe the expected values are USERNAME and SRP_A.
Authentication AWS Cognito SRP
Cognito User Pools does not support SRP authentication from .NET SDK. You will not be able to use AuthFlowType.USER_SRP_AUTH
with the InitiateAuth
API call.
If you want to sign-in using a USERNAME and PASSWORD directly, you can look at the Admin Authentication flow which uses the AdminInitiateAuth API and ADMIN_NO_SRP_AUTH flow.
Unable to verify secret hash for client in Amazon Cognito Userpools
It seems that currently AWS Cognito doesn't handle client secret perfectly. It will work in the near future but as for now it is still a beta version.
For me it is working fine for an app without a client secret but fails for an app with a client secret.
So in your user pool try to create a new app without generating a client secret. Then use that app to signup a new user or to confirm registration.
Related Topics
Enable Dropping a File Onto a Ruby Script
Generate Nested Hashes from Strings and Deep Merging in Ruby
Error Using PHPstorm's SASS File Watcher
How to Convert Any Method to Infix Operator in Ruby
How to Make Id a Random 8 Digit Alphanumeric in Rails
Calendar Events Notification Not Received on Server
How to Rescue from a 'Require': No Such File to Load in Ruby
Is There a Difference Between :: and . When Calling Class Methods in Ruby
Bundler - Load Multiple Gemfiles
How to Create a Rails 4 Concern That Takes an Argument
How to Convert 270921Sec into Days + Hours + Minutes + Sec ? - Ruby
Ruby Inside JavaScript Block [Slim Template]
Rails: Methods Shared by Multiple Controllers
How to Install Rails with Jruby