Skip to content

Commit b7aa1c1

Browse files
docs: default to id.ai for Internet Identity (#637)
* docs: default to id.ai for Internet Identity Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> * 📄 Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 88ace23 commit b7aa1c1

4 files changed

Lines changed: 20 additions & 14 deletions

File tree

.llms-snapshots/llms-full.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ Internet Identity sign-in can be customized with options that let you control se
10251025
| `windowed` | `boolean` | `true` | By default, the authentication flow is presented in a popup window on desktop that is automatically centered on the browser. This behavior can be turned off by setting the option to `false`, causing the authentication flow to happen in a separate tab instead. |
10261026
| `derivationOrigin` | `string` or `URL` | | The main domain to be used to ensure your users are identified with the same public ID, regardless of which of your Satellite's URLs they use to access your application. |
10271027
| `onProgress` | `(progress) => void` | | Callback for provider sign-in and user creation/loading. |
1028-
| `domain` | `internetcomputer.org` or `ic0.app` or `id.ai` | `internetcomputer.org` | The domain on which to open Internet Identity. |
1028+
| `domain` | `id.ai` or `internetcomputer.org` or `ic0.app` | `id.ai` | The domain on which to open Internet Identity. |
10291029

10301030
Example with options:
10311031

@@ -8896,7 +8896,7 @@ Sharing the same identity also means sharing access to the same wallet linked to
88968896

88978897
#### 1\. Create a new identity
88988898

8899-
Go to [identity.internetcomputer.org](https://identity.internetcomputer.org) and create a new identity.
8899+
Go to [id.ai](https://id.ai) and create a new identity.
89008900

89018901
#### 2\. Set up
89028902

@@ -8908,15 +8908,15 @@ Arrange a call or meeting with the person you want to share the identity with, a
89088908

89098909
#### 4\. Sign into your Internet Identity
89108910

8911-
Once ready, sign again into [identity.internetcomputer.org](https://identity.internetcomputer.org) using the newly created identity.
8911+
Once ready, sign again into [id.ai](https://id.ai) using the newly created identity.
89128912

89138913
#### 5\. Add a new passkey
89148914

89158915
Click "Add new passkey" to initiate the process of adding the other person’s device.
89168916

89178917
#### 6\. Share the generated link
89188918

8919-
A link (e.g.,`https://identity.internetcomputer.org/?action=add-passkey&ii=1122333` for an identity number `1122333`) will be generated and valid for 15 minutes. Copy and send this link to the person you want to share the identity with.
8919+
A link (e.g.,`https://id.ai/pair#12345`) will be generated and valid for 15 minutes. Copy and send this link to the person you want to share the identity with.
89208920

89218921
#### 7\. Approve the new passkey
89228922

blog/2023-10-05-setting-up-your-internet-identity-on-internetcomputer-dot-org/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ image: https://juno.build/assets/images/setting-up-your-internet-identity-on-int
88

99
![](./setting-up-your-internet-identity-on-internetcomputer-dot-org.png)
1010

11+
:::important
12+
13+
This blog post is no longer needed as the latest version of Internet Identity natively supports both domains. It's just still live for posterity.
14+
15+
:::
16+
1117
---
1218

1319
Web 2.0 uses usernames and passwords for logging into websites, which isn't very secure, can be a hassle, and doesn't always keep your information private.

docs/build/authentication/internet-identity.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ This creates (or reuses) a session automatically the first time the user signs i
4242

4343
Internet Identity sign-in can be customized with options that let you control session lifetime, provider configuration, or track progress during the flow.
4444

45-
| Option | Type | Default | Description |
46-
| ---------------------------- | ---------------------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47-
| `maxTimeToLiveInNanoseconds` | `BigInt(4 * 60 * 60 * 1000 * 1000 * 1000)` | **4 hours** | Maximum lifetime of the user's session in **nanoseconds**. Once expired, the session cannot be extended. |
48-
| `windowed` | `boolean` | `true` | By default, the authentication flow is presented in a popup window on desktop that is automatically centered on the browser. This behavior can be turned off by setting the option to `false`, causing the authentication flow to happen in a separate tab instead. |
49-
| `derivationOrigin` | `string` or `URL` | | The main domain to be used to ensure your users are identified with the same public ID, regardless of which of your Satellite's URLs they use to access your application. |
50-
| `onProgress` | `(progress) => void` | | Callback for provider sign-in and user creation/loading. |
51-
| `domain` | `internetcomputer.org` or `ic0.app` or `id.ai` | `internetcomputer.org` | The domain on which to open Internet Identity. |
45+
| Option | Type | Default | Description |
46+
| ---------------------------- | ---------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47+
| `maxTimeToLiveInNanoseconds` | `BigInt(4 * 60 * 60 * 1000 * 1000 * 1000)` | **4 hours** | Maximum lifetime of the user's session in **nanoseconds**. Once expired, the session cannot be extended. |
48+
| `windowed` | `boolean` | `true` | By default, the authentication flow is presented in a popup window on desktop that is automatically centered on the browser. This behavior can be turned off by setting the option to `false`, causing the authentication flow to happen in a separate tab instead. |
49+
| `derivationOrigin` | `string` or `URL` | | The main domain to be used to ensure your users are identified with the same public ID, regardless of which of your Satellite's URLs they use to access your application. |
50+
| `onProgress` | `(progress) => void` | | Callback for provider sign-in and user creation/loading. |
51+
| `domain` | `id.ai` or `internetcomputer.org` or `ic0.app` | `id.ai` | The domain on which to open Internet Identity. |
5252

5353
Example with options:
5454

docs/miscellaneous/workarounds.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Sharing the same identity also means sharing access to the same wallet linked to
5858

5959
#### 1. Create a new identity
6060

61-
Go to [identity.internetcomputer.org](https://identity.internetcomputer.org) and create a new identity.
61+
Go to [id.ai](https://id.ai) and create a new identity.
6262

6363
#### 2. Set up
6464

@@ -70,15 +70,15 @@ Arrange a call or meeting with the person you want to share the identity with, a
7070

7171
#### 4. Sign into your Internet Identity
7272

73-
Once ready, sign again into [identity.internetcomputer.org](https://identity.internetcomputer.org) using the newly created identity.
73+
Once ready, sign again into [id.ai](https://id.ai) using the newly created identity.
7474

7575
#### 5. Add a new passkey
7676

7777
Click "Add new passkey" to initiate the process of adding the other person’s device.
7878

7979
#### 6. Share the generated link
8080

81-
A link (e.g.,`https://identity.internetcomputer.org/?action=add-passkey&ii=1122333` for an identity number `1122333`) will be generated and valid for 15 minutes. Copy and send this link to the person you want to share the identity with.
81+
A link (e.g.,`https://id.ai/pair#12345`) will be generated and valid for 15 minutes. Copy and send this link to the person you want to share the identity with.
8282

8383
#### 7. Approve the new passkey
8484

0 commit comments

Comments
 (0)