Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
victoriaxyz committed Dec 19, 2024
1 parent c893674 commit 6ecb504
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/authentication/web3/okx-wallet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: Learn how to set up Web3 authentication with OKX Wallet.
- Use OKX Wallet to authenticate users with Web3
</TutorialHero>

Enabling [OKX Wallet](https://www.okx.com/web3/rewritethesystem) as a Web3 provider allows your users to sign in and sign up to your Clerk application with their OKX Wallet.
Enabling [OKX Wallet](https://www.okx.com/web3/rewritethesystem) as a Web3 provider allows your users to sign in and up to your Clerk application with their OKX Wallet.

## Enable OKX Wallet as a Web3 provider

Expand All @@ -32,14 +32,15 @@ The simplest way to test authentication is to visit your Clerk application's [Ac
- **For production**`https://accounts.your-domain.com/sign-in`
1. On the sign-in page, you should see **OKX Wallet** as an option. Use it to sign in with your OKX Wallet.

## Collect additional user information during sign-up
## Collect additional user information during sign-up (optional)

Web3 applications typically utilize a hexadecimal wallet address to identify users, which offers a high level of privacy. However, when bridging the gap between Web3 and Web2, it's often necessary to gather human-readable information about the user, such as their email address, phone number, or a username.
Web3 applications typically use a hexadecimal wallet address to identify users, which offers a high level of privacy. However, when bridging the gap between Web3 and Web2, it's often necessary to gather human-readable information about the user, such as their email address, phone number, or a username.

To collect additional information about your user during sign-up:

1. In the Clerk Dashboard, navigate to the [**Email, phone, username**](https://dashboard.clerk.com/last-active?path=user-authentication/email-phone-username) page.
1. On this page, toggle on attributes you wish to collect from your user during sign up. Select the settings icon next to an attribute to set it as **Required**. When set as **Required**, Clerk automatically prompts the user for this information after they authenticate with OKX Wallet.
1. On this page, enable the attributes you want to collect from your user during sign-up.
1. To set an attribute as required, select the settings icon next to the enabled attribute. Clerk will automatically prompt the user for this information after authenticating with OKX Wallet.

## Connect OKX Wallet to existing account

Expand Down

0 comments on commit 6ecb504

Please sign in to comment.