@@ -91,41 +91,16 @@ steps below:
91
91
To sign up and sign in with a user execute the following script and provide a valid email address for validation purpose.
92
92
Ensure that your ` aws cli ` credentials are valid and have not been expired otherwise the script will fail.
93
93
``` shell
94
- ./tests/e2e_authentication .sh john.doe@example.com
94
+ ./scripts/create_identity .sh john.doe@example.com
95
95
```
96
96
97
- The script will run a sign-up and ask for the email confirmation code . Please be aware that it can take several minutes till
97
+ The script will run a sign-up task . Please be aware that it can take several minutes till
98
98
the confirmation code arrives via email.
99
- ```
100
- ./tests/e2e_authentication.sh john.doe@example.com
101
- email: dornseid@amazon.com
102
- password: sPU62r5KiW0zGZU3YZulsQ==
103
- {
104
- "UserConfirmed": false,
105
- "CodeDeliveryDetails": {
106
- "Destination": "j***@e***",
107
- "DeliveryMedium": "EMAIL",
108
- "AttributeName": "email"
109
- },
110
- "UserSub": "d68c6123-f123-4123-a123-b0fb8ac6cfff"
111
- }
112
- Email confirmation code:
113
- ```
114
99
115
- Paste the confirmation code and press enter.
116
- The script will now confirm your email address and run a sign-in. If successful, the returned ` id_token (JWT) ` will be
117
- parsed by ` [jwt-cli](https://github.com/mike-engel/jwt-cli) ` if installed.
100
+ Use the confirmation code along with your email address to get a valid jwt token.
118
101
119
102
``` shell
120
- Token header
121
- ------------
122
- {
123
- " alg" : " RS256" ,
124
- " kid" : " a4/+sHOVlrZW2ek39QapxmycgQ1Q6XaEBpCTSj53Uzg="
125
- }
126
-
127
- Token claims
128
- ------------
103
+ ./scripts/get_jwt.sh john.doe@example.com < my_email_confirmation_code>
129
104
{
130
105
" account_address" : " 0x4159186832d06a97732c6c25bA8bF58F46E457f4" ,
131
106
" aud" : " 2oh22e7oevj7sfm0ubbd7sm22b" ,
0 commit comments