|
1 | 1 | .. _wallet-sdk-identity-creation:
|
2 | 2 |
|
3 |
| -==================== |
4 |
| -Creating an identity |
5 |
| -==================== |
| 3 | +================== |
| 4 | +Create an identity |
| 5 | +================== |
6 | 6 |
|
7 |
| -To create an account on the Concordium blockchain, one must first acquire an identity. Therefore, as an initial step, a user of a wallet will always have to create an identity before being able to send account transactions. |
| 7 | +To create an account on the Concordium blockchain, a user must first acquire an identity. Therefore, as an initial step, a wallet user will always have to create an identity before being able to send account transactions. |
8 | 8 |
|
9 | 9 | An identity is acquired by generating an identity request and sending it to an identity provider. The user will then be taken through the identity verification
|
10 | 10 | process that is specific for that chosen identity provider. This happens outside of the wallet application.
|
11 | 11 |
|
12 |
| -* `Creating an identity request`_ |
13 |
| -* `Sending an identity request`_ |
14 |
| -* `Retrieving the identity after creation`_ |
| 12 | +* `Create an identity request`_ |
| 13 | +* `Send an identity request`_ |
| 14 | +* `Retrieve the identity after creation`_ |
15 | 15 |
|
16 |
| -++++++++++++++++++++++++++++ |
17 |
| -Creating an identity request |
18 |
| -++++++++++++++++++++++++++++ |
| 16 | +++++++++++++++++++++++++++ |
| 17 | +Create an identity request |
| 18 | +++++++++++++++++++++++++++ |
19 | 19 |
|
20 | 20 | The first step is to create the actual identity request. To do this, you need the list of identity providers. Refer to :ref:`Identity Provider List` to understand how to retrieve it.
|
21 | 21 |
|
@@ -91,16 +91,13 @@ The first step is to create the actual identity request. To do this, you need th
|
91 | 91 |
|
92 | 92 | The Swift SDK for iOS is still in development.
|
93 | 93 |
|
94 |
| -+++++++++++++++++++++++++++ |
95 |
| -Sending an identity request |
96 |
| -+++++++++++++++++++++++++++ |
| 94 | +++++++++++++++++++++++++ |
| 95 | +Send an identity request |
| 96 | +++++++++++++++++++++++++ |
97 | 97 |
|
98 | 98 | Once the identity request has been created, the next step is to send it to the corresponding identity provider. There are multiple ways to accomplish this, and it will depend on the technologies you choose. Below is an example of how it can be done.
|
99 | 99 |
|
100 |
| -A part of the request is a `redirectUri`, which tells the identity provider where to redirect the user when the identity verification flow has been completed. A wallet application has to |
101 |
| -choose this in such a way that the user is sent back into the wallet application, where the |
102 |
| -actual identity object can then be retrieved from the information provided in the hash property |
103 |
| -of the redirect URL. |
| 100 | +A part of the request is a `redirectUri`, which tells the identity provider where to redirect the user when the identity verification flow has been completed. A wallet application has to choose this in such a way that the user is sent back into the wallet application, where the actual identity object can then be retrieved from the information provided in the hash property of the redirect URL. |
104 | 101 |
|
105 | 102 | .. tabs::
|
106 | 103 |
|
@@ -163,13 +160,11 @@ of the redirect URL.
|
163 | 160 |
|
164 | 161 | The Swift SDK for iOS is still in development.
|
165 | 162 |
|
166 |
| -++++++++++++++++++++++++++++++++++++++ |
167 |
| -Retrieving the identity after creation |
168 |
| -++++++++++++++++++++++++++++++++++++++ |
| 163 | +++++++++++++++++++++++++++++++++++++ |
| 164 | +Retrieve the identity after creation |
| 165 | +++++++++++++++++++++++++++++++++++++ |
169 | 166 |
|
170 |
| -Upon completing identity verification at the identity provider, the identity provider does a |
171 |
| -redirect of the user back to the `redirectUri` that was provided when sending the identity request to the identity provider. The hash property of the URL that the identity provider |
172 |
| -redirects the user to contains the URL where the identity object can be retrieved from, in the format `redirectUri#code_uri=`, where the URL will be after the equals sign. |
| 167 | +Upon completing identity verification with the identity provider, the identity provider does a redirect of the user back to the `redirectUri` that was provided when sending the identity request to the identity provider. The hash property of the URL that the identity provider redirects the user to contains the URL where the identity object can be retrieved from in the format `redirectUri#code_uri=`, where the URL will be after the equals sign. |
173 | 168 |
|
174 | 169 | .. tabs::
|
175 | 170 |
|
|
0 commit comments