Skip to content

Commit d7fa943

Browse files
committed
Fix more broken links
1 parent 9408ac9 commit d7fa943

File tree

15 files changed

+162
-162
lines changed

15 files changed

+162
-162
lines changed

embedded-wallets/sdk/js/advanced/custom-authentication.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can only configure implicit login via modal, for JWT based logins, you need
4242

4343
For the modal custom authentication, you need to pass the `modalConfig` object to the `Web3AuthOptions` object within the constructor.
4444

45-
> **Read more about the `modalConfig` object in the [Whitelabel](./whitelabel) section.**
45+
> **Read more about the `modalConfig` object in the [Whitelabel](../whitelabel) section.**
4646
4747
### Usage
4848

embedded-wallets/sdk/js/advanced/whitelabel.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@ The `LoginMethodConfig` interface provides extensive customization options for e
4949
<Tabs>
5050
<TabItem value="Table">
5151

52-
| Property | Type | Description |
53-
| --- | --- | --- |
54-
| `name` | `string` | Custom display name (defaults to auth app's default if not provided) |
55-
| `description` | `string` | Button description (renders as full-length button if provided; otherwise as an icon) |
56-
| `logoHover` | `string` | Logo shown on mouse hover (defaults to auth app's default) |
57-
| `logoLight` | `string` | Logo for dark theme/background (defaults to auth app's default) |
58-
| `logoDark` | `string` | Logo for light theme/background (defaults to auth app's default) |
59-
| `mainOption` | `boolean` | Whether to show login button on the main list |
60-
| `showOnModal` | `boolean` | Controls visibility of the login button on modal |
61-
| `authConnectionId` | `string` | Auth connection ID of the provider |
62-
| `groupedAuthConnectionId` | `string` | Grouped auth connection ID of the provider |
63-
| `extraLoginOptions` | `ExtraLoginOptions` | Additional parameters for social login |
64-
| `authConnection` | `AUTH_CONNECTION_TYPE` | Auth connection type (useful for customizing login buttons with custom connectors) |
65-
| `isDefault` | `boolean` | Whether it's the default connector _(internal)_ |
52+
| Property | Type | Description |
53+
| ------------------------- | ---------------------- | ------------------------------------------------------------------------------------ |
54+
| `name` | `string` | Custom display name (defaults to auth app's default if not provided) |
55+
| `description` | `string` | Button description (renders as full-length button if provided; otherwise as an icon) |
56+
| `logoHover` | `string` | Logo shown on mouse hover (defaults to auth app's default) |
57+
| `logoLight` | `string` | Logo for dark theme/background (defaults to auth app's default) |
58+
| `logoDark` | `string` | Logo for light theme/background (defaults to auth app's default) |
59+
| `mainOption` | `boolean` | Whether to show login button on the main list |
60+
| `showOnModal` | `boolean` | Controls visibility of the login button on modal |
61+
| `authConnectionId` | `string` | Auth connection ID of the provider |
62+
| `groupedAuthConnectionId` | `string` | Grouped auth connection ID of the provider |
63+
| `extraLoginOptions` | `ExtraLoginOptions` | Additional parameters for social login |
64+
| `authConnection` | `AUTH_CONNECTION_TYPE` | Auth connection type (useful for customizing login buttons with custom connectors) |
65+
| `isDefault` | `boolean` | Whether it's the default connector _(internal)_ |
6666

6767
</TabItem>
6868

@@ -245,4 +245,4 @@ await web3auth.init()
245245

246246
For complete control over the authentication interface, you can bypass the Web3Auth modal entirely and use the `connectTo` function. This allows you to create custom buttons that connect directly to specific auth providers.
247247

248-
See the [Custom Authentication](./custom-authentication) section for detailed implementation instructions.
248+
See the [Custom Authentication](../custom-authentication) section for detailed implementation instructions.

embedded-wallets/sdk/js/migration-guides/modal/v7-to-v10/custom-authentication.mdx

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ description:
66
sidebar_label: Custom Authentication Migration
77
---
88

9-
import Tabs from "@theme/Tabs";
10-
import TabItem from "@theme/TabItem";
9+
import Tabs from '@theme/Tabs'
10+
import TabItem from '@theme/TabItem'
1111

1212
# Web3Auth v10 Custom Authentication Migration Guide
1313

1414
This guide focuses specifically on migrating custom authentication configurations from Web3Auth v7
1515
to v10. This covers the transition from "Verifiers" to "Connections" and "Grouped Connections". This
16-
is a supplementary guide to the main [v7 to v10 migration guide](./modal-v7-to-v10.mdx).
16+
is a supplementary guide to the main [v7 to v10 migration guide](../README).
1717

1818
## Overview
1919

@@ -34,35 +34,35 @@ const openloginAdapter = new OpenloginAdapter({
3434
adapterSettings: {
3535
loginConfig: {
3636
google: {
37-
verifier: "YOUR_GOOGLE_VERIFIER_NAME", // v7 verifier name
38-
typeOfLogin: "google",
39-
clientId: "YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com",
37+
verifier: 'YOUR_GOOGLE_VERIFIER_NAME', // v7 verifier name
38+
typeOfLogin: 'google',
39+
clientId: 'YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com',
4040
},
4141
},
4242
},
43-
});
43+
})
4444

45-
web3auth.configureAdapter(openloginAdapter);
46-
await web3auth.initModal();
45+
web3auth.configureAdapter(openloginAdapter)
46+
await web3auth.initModal()
4747
// remove-end
4848

4949
// add-start
5050
const web3AuthOptions: Web3AuthOptions = {
51-
clientId: "YOUR_CLIENT_ID",
51+
clientId: 'YOUR_CLIENT_ID',
5252
// ...
5353
modalConfig: {
5454
connectors: {
5555
[WALLET_CONNECTORS.AUTH]: {
5656
loginMethods: {
5757
google: {
58-
name: "Google Login",
59-
authConnectionId: "YOUR_GOOGLE_AUTH_CONNECTION_ID", // v10 connection ID
58+
name: 'Google Login',
59+
authConnectionId: 'YOUR_GOOGLE_AUTH_CONNECTION_ID', // v10 connection ID
6060
},
6161
},
6262
},
6363
},
6464
},
65-
};
65+
}
6666

6767
// OR v10: connectTo with a single connection
6868
// await web3auth.connectTo(WALLET_CONNECTORS.AUTH, {
@@ -90,52 +90,52 @@ const openloginAdapter = new OpenloginAdapter({
9090
loginConfig: {
9191
google: {
9292
// Part of an aggregate verifier
93-
verifier: "MY_AGGREGATE_VERIFIER_NAME", // Main aggregate verifier name
94-
verifierSubIdentifier: "google-sub-verifier", // Specific sub-verifier for Google
95-
typeOfLogin: "google",
96-
clientId: "YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com",
93+
verifier: 'MY_AGGREGATE_VERIFIER_NAME', // Main aggregate verifier name
94+
verifierSubIdentifier: 'google-sub-verifier', // Specific sub-verifier for Google
95+
typeOfLogin: 'google',
96+
clientId: 'YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com',
9797
},
9898
jwt_email: {
9999
// Another part of the same aggregate verifier
100-
verifier: "MY_AGGREGATE_VERIFIER_NAME",
101-
verifierSubIdentifier: "custom-jwt-sub-verifier",
102-
typeOfLogin: "jwt",
103-
clientId: "YOUR_CUSTOM_JWT_CLIENT_ID", // Not always applicable for JWT
100+
verifier: 'MY_AGGREGATE_VERIFIER_NAME',
101+
verifierSubIdentifier: 'custom-jwt-sub-verifier',
102+
typeOfLogin: 'jwt',
103+
clientId: 'YOUR_CUSTOM_JWT_CLIENT_ID', // Not always applicable for JWT
104104
jwtParameters: {
105105
/* ... JWT specific params like domain, verifierIdField ... */
106106
},
107107
},
108108
},
109109
},
110-
});
110+
})
111111

112-
web3auth.configureAdapter(openloginAdapter);
113-
await web3auth.initModal();
112+
web3auth.configureAdapter(openloginAdapter)
113+
await web3auth.initModal()
114114
// remove-end
115115

116116
// add-start
117117
const web3AuthOptions: Web3AuthOptions = {
118-
clientId: "YOUR_CLIENT_ID",
118+
clientId: 'YOUR_CLIENT_ID',
119119
// ...
120120
modalConfig: {
121121
connectors: {
122122
[WALLET_CONNECTORS.AUTH]: {
123123
loginMethods: {
124124
google: {
125-
name: "Google Login",
126-
authConnectionId: "YOUR_INDIVIDUAL_GOOGLE_CONNECTION_ID", // ID of the individual Google connection
127-
groupedAuthConnectionId: "YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD", // ID of the group
125+
name: 'Google Login',
126+
authConnectionId: 'YOUR_INDIVIDUAL_GOOGLE_CONNECTION_ID', // ID of the individual Google connection
127+
groupedAuthConnectionId: 'YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD', // ID of the group
128128
},
129129
myCustomJWT: {
130-
name: "Login with Corp Email",
131-
authConnectionId: "YOUR_INDIVIDUAL_CUSTOM_JWT_CONNECTION_ID",
132-
groupedAuthConnectionId: "YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD",
130+
name: 'Login with Corp Email',
131+
authConnectionId: 'YOUR_INDIVIDUAL_CUSTOM_JWT_CONNECTION_ID',
132+
groupedAuthConnectionId: 'YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD',
133133
},
134134
},
135135
},
136136
},
137137
},
138-
};
138+
}
139139

140140
// OR v10: connectTo with a grouped connection
141141
// For Google login part of the group:
@@ -180,5 +180,5 @@ client-side logic and provides a more robust way to manage authentication method
180180

181181
## Next Steps
182182

183-
Return to the main [v7 to v10 migration guide](./modal-v7-to-v10.mdx) to continue with other
183+
Return to the main [v7 to v10 migration guide](../README) to continue with other
184184
migration aspects like method name changes and initialization updates.

embedded-wallets/sdk/js/migration-guides/modal/v7-to-v10/whitelabeling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 Whitelabeling Migration Guide
1111

12-
This guide focuses specifically on migrating whitelabeling and UI customization configurations from Web3Auth v7 to v10. This is a supplementary guide to the main [v7 to v10 migration guide](./modal-v7-to-v10.mdx).
12+
This guide focuses specifically on migrating whitelabeling and UI customization configurations from Web3Auth v7 to v10. This is a supplementary guide to the main [v7 to v10 migration guide](../README).
1313

1414
## Overview
1515

embedded-wallets/sdk/js/migration-guides/modal/v8-to-v10/custom-authentication.mdx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ description:
66
sidebar_label: Custom Authentication Migration
77
---
88

9-
import Tabs from "@theme/Tabs";
10-
import TabItem from "@theme/TabItem";
9+
import Tabs from '@theme/Tabs'
10+
import TabItem from '@theme/TabItem'
1111

1212
# Web3Auth v10 Custom Authentication Migration Guide
1313

1414
This guide focuses specifically on migrating custom authentication configurations from Web3Auth v8
1515
to v10. This covers the transition from "Verifiers" to "Connections" and "Grouped Connections". This
16-
is a supplementary guide to the main [v8 to v10 migration guide](./modal-v8-to-v10.mdx).
16+
is a supplementary guide to the main [v8 to v10 migration guide](../README).
1717

1818
## Overview
1919

@@ -33,12 +33,12 @@ Single verifiers in v8 become connections in v10:
3333
const openloginAdapter = new OpenloginAdapter({
3434
loginConfig: {
3535
google: {
36-
verifier: "YOUR_GOOGLE_VERIFIER_NAME", // v8 verifier name
37-
typeOfLogin: "google",
38-
clientId: "YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com",
36+
verifier: 'YOUR_GOOGLE_VERIFIER_NAME', // v8 verifier name
37+
typeOfLogin: 'google',
38+
clientId: 'YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com',
3939
},
4040
},
41-
});
41+
})
4242

4343
// OR when using connectTo:
4444
// await web3auth.connectTo("openlogin", {
@@ -49,21 +49,21 @@ const openloginAdapter = new OpenloginAdapter({
4949

5050
// add-start
5151
const web3AuthOptions: Web3AuthOptions = {
52-
clientId: "YOUR_CLIENT_ID",
52+
clientId: 'YOUR_CLIENT_ID',
5353
// ...
5454
modalConfig: {
5555
connectors: {
5656
[WALLET_CONNECTORS.AUTH]: {
5757
loginMethods: {
5858
google: {
59-
name: "Google Login",
60-
authConnectionId: "YOUR_GOOGLE_AUTH_CONNECTION_ID", // v10 connection ID
59+
name: 'Google Login',
60+
authConnectionId: 'YOUR_GOOGLE_AUTH_CONNECTION_ID', // v10 connection ID
6161
},
6262
},
6363
},
6464
},
6565
},
66-
};
66+
}
6767

6868
// OR v10: connectTo with a single connection
6969
// await web3auth.connectTo(WALLET_CONNECTORS.AUTH, {
@@ -90,48 +90,48 @@ const openloginAdapter = new OpenloginAdapter({
9090
loginConfig: {
9191
google: {
9292
// Part of an aggregate verifier
93-
verifier: "MY_AGGREGATE_VERIFIER_NAME", // Main aggregate verifier name
94-
verifierSubIdentifier: "google-sub-verifier", // Specific sub-verifier for Google
95-
typeOfLogin: "google",
96-
clientId: "YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com",
93+
verifier: 'MY_AGGREGATE_VERIFIER_NAME', // Main aggregate verifier name
94+
verifierSubIdentifier: 'google-sub-verifier', // Specific sub-verifier for Google
95+
typeOfLogin: 'google',
96+
clientId: 'YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com',
9797
},
9898
jwt_email: {
9999
// Another part of the same aggregate verifier
100-
verifier: "MY_AGGREGATE_VERIFIER_NAME",
101-
verifierSubIdentifier: "custom-jwt-sub-verifier",
102-
typeOfLogin: "jwt",
103-
clientId: "YOUR_CUSTOM_JWT_CLIENT_ID", // Not always applicable for JWT
100+
verifier: 'MY_AGGREGATE_VERIFIER_NAME',
101+
verifierSubIdentifier: 'custom-jwt-sub-verifier',
102+
typeOfLogin: 'jwt',
103+
clientId: 'YOUR_CUSTOM_JWT_CLIENT_ID', // Not always applicable for JWT
104104
jwtParameters: {
105105
/* ... JWT specific params like domain, verifierIdField ... */
106106
},
107107
},
108108
},
109-
});
109+
})
110110
// remove-end
111111

112112
// add-start
113113
const web3AuthOptions: Web3AuthOptions = {
114-
clientId: "YOUR_CLIENT_ID",
114+
clientId: 'YOUR_CLIENT_ID',
115115
// ...
116116
modalConfig: {
117117
connectors: {
118118
[WALLET_CONNECTORS.AUTH]: {
119119
loginMethods: {
120120
google: {
121-
name: "Google Login",
122-
authConnectionId: "YOUR_INDIVIDUAL_GOOGLE_CONNECTION_ID", // ID of the individual Google connection
123-
groupedAuthConnectionId: "YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD", // ID of the group
121+
name: 'Google Login',
122+
authConnectionId: 'YOUR_INDIVIDUAL_GOOGLE_CONNECTION_ID', // ID of the individual Google connection
123+
groupedAuthConnectionId: 'YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD', // ID of the group
124124
},
125125
myCustomJWT: {
126-
name: "Login with Corp Email",
127-
authConnectionId: "YOUR_INDIVIDUAL_CUSTOM_JWT_CONNECTION_ID",
128-
groupedAuthConnectionId: "YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD",
126+
name: 'Login with Corp Email',
127+
authConnectionId: 'YOUR_INDIVIDUAL_CUSTOM_JWT_CONNECTION_ID',
128+
groupedAuthConnectionId: 'YOUR_GROUPED_CONNECTION_ID_FROM_DASHBOARD',
129129
},
130130
},
131131
},
132132
},
133133
},
134-
};
134+
}
135135

136136
// OR v10: connectTo with a grouped connection
137137
// For Google login part of the group:

embedded-wallets/sdk/js/migration-guides/modal/v8-to-v10/whitelabeling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 Whitelabeling Migration Guide
1111

12-
This guide focuses specifically on migrating whitelabeling and UI customization configurations from Web3Auth v8 to v10. This is a supplementary guide to the main [v8 to v10 migration guide](./modal-v8-to-v10.mdx).
12+
This guide focuses specifically on migrating whitelabeling and UI customization configurations from Web3Auth v8 to v10. This is a supplementary guide to the main [v8 to v10 migration guide](../README).
1313

1414
## Overview
1515

0 commit comments

Comments
 (0)