File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ CLIENT_ID=$2
6
6
USERNAME=$3
7
7
PASSWORD=$4
8
8
9
- echo $USERPOOLID
10
- echo $CLIENT_ID
11
- echo $USERNAME
12
- echo $PASSWORD
13
-
14
-
15
9
# Do an initial login
16
10
# It will come back wtih a challenge response
17
11
AUTH_CHALLENGE_SESSION=` aws cognito-idp initiate-auth \
@@ -23,7 +17,6 @@ AUTH_CHALLENGE_SESSION=`aws cognito-idp initiate-auth \
23
17
24
18
echo " Then respond to the challenge"
25
19
26
-
27
20
# Then respond to the challenge
28
21
AUTH_TOKEN=` aws cognito-idp admin-respond-to-auth-challenge \
29
22
--user-pool-id $USERPOOLID \
@@ -36,6 +29,5 @@ AUTH_TOKEN=`aws cognito-idp admin-respond-to-auth-challenge \
36
29
37
30
# Tell the world
38
31
echo " Changed the password to Testing1"
39
-
40
32
echo " Logged in ID Auth Token: "
41
33
echo $AUTH_TOKEN
You can’t perform that action at this time.
0 commit comments