Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: (authentication/web3/coinbase-wallet) align with metamask and okx #1830

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/authentication/web3/coinbase-wallet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ description: Learn how to set up Web3 authentication with Coinbase Wallet.
- Use Coinbase Wallet to authenticate users with Web3
</TutorialHero>

Enabling [Coinbase Wallet](https://www.coinbase.com/wallet) as a Web3 provider allows your users to sign in and sign up to your Clerk application with their Coinbase Wallet. Both [Smart Wallet](https://www.coinbase.com/wallet/smart-wallet) and the [Coinbase Wallet browser extension](https://www.coinbase.com/wallet/downloads) are supported.
Enabling [Coinbase Wallet](https://www.coinbase.com/wallet) as a Web3 provider allows your users to sign in and up to your Clerk application with their Coinbase Wallet. Both [Smart Wallet](https://www.coinbase.com/wallet/smart-wallet) and the [Coinbase Wallet browser extension](https://www.coinbase.com/wallet/downloads) are supported.

> [!WARNING]
> This guide is for using Coinbase Wallet for authentication. If you are looking to connect users via [Coinbase.com](https://www.coinbase.com/), see [the guide for enabling Coinbase as a social provider](/docs/authentication/social-connections/coinbase).
> This guide is for using Coinbase Wallet for authentication. If you're looking to connect users using [Coinbase.com](https://www.coinbase.com/) as a social provider, see the [dedicated guide](/docs/authentication/social-connections/coinbase).

## Enable Coinbase Wallet as a Web3 provider

Expand All @@ -35,14 +35,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 **Coinbase Wallet** as an option. Use it to sign in with your Coinbase 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 Coinbase 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 Coinbase Wallet.

## Connect Coinbase Wallet to existing account

Expand Down
Loading