Skip to content

Commit d7d1bc9

Browse files
committed
docs: update user account linking
1 parent 628b870 commit d7d1bc9

File tree

3 files changed

+115
-2
lines changed

3 files changed

+115
-2
lines changed

apps/portal/src/app/connect/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const sidebar: SideBar = {
144144
},
145145
{
146146
name: "Link Multiple Identity",
147-
href: `${inAppSlug}/guides/link-multiple-profiles`,
147+
href: `${walletSlug}/user-management/link-multiple-identity`,
148148
},
149149
// TODO:
150150
// {

apps/portal/src/app/connect/wallet/user-management/get-user-profiles/page.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,8 @@ If you are using the thirdweb SDK, you can use the `getUser` method to retrieve
237237
icon={TypeScriptIcon}
238238
description="Get user details from your backend for thirdweb wallets in TypeScript"
239239
href="/references/typescript/v5/getUser"
240-
/>
240+
/>
241+
242+
## Linking Additional Identities
243+
244+
If you want to link additional identities to a wallet, see [Linking Multiple Identities](/connect/wallet/user-management/link-multiple-identity).
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
import { createMetadata, ArticleIconCard, Callout } from "@doc";
2+
import {
3+
ReactIcon,
4+
TypeScriptIcon,
5+
UnityIcon,
6+
DotNetIcon,
7+
ExternalLinkIcon,
8+
UnrealEngineIcon
9+
} from "@/icons"
10+
11+
export const metadata = createMetadata({
12+
image: {
13+
title: "Linking Multiple Identities",
14+
icon: "wallets",
15+
},
16+
title: "Linking Multiple Identities",
17+
description:
18+
"Learn how to associate multiple social profiles with a single wallet address.",
19+
});
20+
21+
# Linking Multiple Identities
22+
23+
thirdweb Wallets allow users to tie the same wallet address to multiple social identities. Developers can programmatically link additional identities at any point in their user journey.
24+
25+
## Link a new identity
26+
27+
When linking two identities, both identities will now be linked to the same wallet.
28+
29+
<Callout variant='info' title='Linking a pre-existing identity'>
30+
If the account that is is already linked to this or another wallet, this will throw an error.
31+
</Callout>
32+
33+
34+
### In App Wallet
35+
36+
<div className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-3">
37+
<ArticleIconCard
38+
title="TypeScript"
39+
icon={TypeScriptIcon}
40+
description="Linking identities for in-app wallets in TypeScript"
41+
href="/typescript/v5/linkProfile"
42+
/>
43+
<ArticleIconCard
44+
title="React"
45+
icon={ReactIcon}
46+
description="Linking identities for in-app wallets in React"
47+
href="/react/v5/useLinkProfile"
48+
/>
49+
<ArticleIconCard
50+
title="React Native"
51+
icon={ReactIcon}
52+
description="Linking identities for in-app wallets in React Native"
53+
href="/react-native/v5/useLinkProfile"
54+
/>
55+
<ArticleIconCard
56+
title=".NET"
57+
icon={DotNetIcon}
58+
description="Linking identities for in-app wallets in .NET"
59+
href="/dotnet/wallets/providers/in-app-wallet#linking-accounts"
60+
/>
61+
<ArticleIconCard
62+
title="Unity"
63+
icon={UnityIcon}
64+
description="Linking identities for in-app wallets in Unity"
65+
href="/unity/v5/wallets/in-app-wallet#account-linking"
66+
/>
67+
</div>
68+
69+
### Ecosystem Wallet
70+
71+
<div className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-3">
72+
<ArticleIconCard
73+
title="TypeScript"
74+
icon={TypeScriptIcon}
75+
description="Linking identities for ecosystem wallets in TypeScript"
76+
href="/typescript/v5/linkProfile"
77+
/>
78+
<ArticleIconCard
79+
title="React"
80+
icon={ReactIcon}
81+
description="Linking identities for ecosystem wallets in React"
82+
href="/react/v5/useLinkProfile"
83+
/>
84+
<ArticleIconCard
85+
title="React Native"
86+
icon={ReactIcon}
87+
description="Linking identities for ecosystem wallets in React Native"
88+
href="/react-native/v5/useLinkProfile"
89+
/>
90+
<ArticleIconCard
91+
title=".NET"
92+
icon={DotNetIcon}
93+
description="Linking identities for ecosystem wallets in .NET"
94+
href="/dotnet/wallets/providers/ecosystem-wallet#linking-accounts"
95+
/>
96+
<ArticleIconCard
97+
title="Unity"
98+
icon={UnityIcon}
99+
description="Linking identities for ecosystem wallets in Unity"
100+
href="/unity/v5/wallets/ecosystem-wallet#account-linking"
101+
/>
102+
</div>
103+
104+
105+
## Retrieve Linked Profiles
106+
107+
Once linked, you can retrieve the user profiles via either identity.
108+
109+
For more information, see [Getting User Profiles](/connect/wallet/user-management/get-user-profiles).

0 commit comments

Comments
 (0)