Skip to content

Commit f611303

Browse files
committed
cleanup
1 parent 811c206 commit f611303

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/first_login.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ CLIENT_ID=$2
66
USERNAME=$3
77
PASSWORD=$4
88

9-
echo $USERPOOLID
10-
echo $CLIENT_ID
11-
echo $USERNAME
12-
echo $PASSWORD
13-
14-
159
# Do an initial login
1610
# It will come back wtih a challenge response
1711
AUTH_CHALLENGE_SESSION=`aws cognito-idp initiate-auth \
@@ -23,7 +17,6 @@ AUTH_CHALLENGE_SESSION=`aws cognito-idp initiate-auth \
2317

2418
echo "Then respond to the challenge"
2519

26-
2720
# Then respond to the challenge
2821
AUTH_TOKEN=`aws cognito-idp admin-respond-to-auth-challenge \
2922
--user-pool-id $USERPOOLID \
@@ -36,6 +29,5 @@ AUTH_TOKEN=`aws cognito-idp admin-respond-to-auth-challenge \
3629

3730
# Tell the world
3831
echo "Changed the password to Testing1"
39-
4032
echo "Logged in ID Auth Token: "
4133
echo $AUTH_TOKEN

0 commit comments

Comments
 (0)