Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b2c3e33

Browse files
author
David Dornseifer
committedJan 30, 2024
Updated AA wallet module readme
1 parent 344bfdb commit b2c3e33

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed
 

‎module1/wallets/README.md

+4-29
Original file line numberDiff line numberDiff line change
@@ -91,41 +91,16 @@ steps below:
9191
To sign up and sign in with a user execute the following script and provide a valid email address for validation purpose.
9292
Ensure that your `aws cli` credentials are valid and have not been expired otherwise the script will fail.
9393
```shell
94-
./tests/e2e_authentication.sh john.doe@example.com
94+
./scripts/create_identity.sh john.doe@example.com
9595
```
9696

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
9898
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-
```
11499

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.
118101

119102
```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>
129104
{
130105
"account_address": "0x4159186832d06a97732c6c25bA8bF58F46E457f4",
131106
"aud": "2oh22e7oevj7sfm0ubbd7sm22b",

0 commit comments

Comments
 (0)
Please sign in to comment.