session
The optional session ID from a ConfirmSignUp
API request. You can sign in a user directly from the sign-up process with the USER_AUTH
authentication flow. When you pass the session ID to InitiateAuth
, Amazon Cognito assumes the SMS or email message one-time verification password from ConfirmSignUp
as the primary authentication factor. You're not required to submit this code a second time. This option is only valid for users who have confirmed their sign-up and are signing in for the first time within the authentication flow session duration of the session ID.