Create your account
Coinbase verifies identity; Town & Cattle stores an encrypted session and your fulfillment preferences—never your Coinbase access token in the browser.
Step 1 — Authorize with Coinbase
We request the wallet:user:read scope to read your Coinbase profile ID and email. PKCE protects the authorization code on public clients. Tokens are exchanged only on the server and are not persisted in cookies.
- Redirect to Coinbase login and consent screen.
- Coinbase returns an authorization code to our callback URL.
- Server exchanges the code (with your client secret) and loads your profile.
- We seal your user id and email into an httpOnly iron-session cookie.
Set COINBASE_CLIENT_ID, COINBASE_CLIENT_SECRET, IRON_SESSION_PASSWORD (32+ chars), and NEXT_PUBLIC_APP_URL to enable this button in production.
By continuing you agree to Coinbase's terms and acknowledge Town & Cattle's use of your profile for account creation only. See also our contact section for data requests.