Skip to content

Commit 2365dd1

Browse files
more
1 parent c1993a6 commit 2365dd1

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

apps/portal/src/app/wallets/page.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,13 @@ Create wallets for your users with flexible authentication options. Choose from
7272

7373
## API Authentication
7474

75-
Create and authenticate user wallets using different methods:
75+
Authenticating a user is done in two steps:
76+
77+
1. Initiate authentication
78+
2. Complete authentication
7679

7780
### Initiate Authentication
78-
Start authentication with email, phone, passkey, or social providers:
81+
Start authentication with email, phone, passkey, or social providers
7982

8083
<OpenApiEndpoint path="/v1/auth/initiate" method="POST" />
8184

@@ -94,7 +97,7 @@ Retrieve authenticated user's wallet details:
9497
<TabsContent value="typescript">
9598
### Installation
9699

97-
Install the thirdweb SDK in your TypeScript project:
100+
Install the thirdweb SDK in your TypeScript project
98101

99102
<InstallTabs
100103
npm="npm i thirdweb"

apps/portal/src/components/Document/APIEndpointMeta/OpenApiEndpoint.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,20 @@ function transformOpenApiToApiEndpointMeta(
326326
required: false,
327327
example: undefined,
328328
});
329+
headers.push({
330+
name: "x-ecosystem-id",
331+
type: "optional",
332+
description: "Ecosystem ID - for ecosystem wallets.",
333+
required: false,
334+
example: undefined,
335+
});
336+
headers.push({
337+
name: "x-ecosystem-partner-id",
338+
type: "optional",
339+
description: "Ecosystem partner ID - for ecosystem wallets.",
340+
required: false,
341+
example: undefined,
342+
});
329343

330344
if (method === "POST" && !path.includes("/v1/contracts/read")) {
331345
headers.push({

0 commit comments

Comments
 (0)