# Application Auth Page: Account Linking Page

An account collision gate showing a Google sign in beside an existing password account, a link action, and a password sign in fallback.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-linking-page
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Auth Pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-linking-page.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-auth-pages-account-linking-page
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/auth-pages/account-linking-page`

## About this block

Account Linking Page is the collision state reached when
a Google sign in matches an email that already has a
password account. The Acme lockup sits above a card
headed This email already has an account, a line naming
the address and the conflict, then a bordered panel with
both identities stacked: the Google sign in verified just
now, and the existing Acme account since 2023 with its
workspace count and last active day. A Link Google to the
existing account button leads, a Sign in with password
instead button follows, and a footer note promises the
link merges nothing and deletes nothing (one account, the
same workspaces and history, plus Google as a method).

The two identity rows are static markup with a muted icon
tile each. Showing both accounts side by side, and stating
that nothing is merged or lost, is what turns a scary
duplicate warning into a one-tap decision.

## When to use

Reach for this block when an OAuth callback returns an
email that already maps to a local account. Wire the link
button to a flow that reauthenticates the password
account once, then attaches the OAuth identity to it.

A natural flow around it on an Application Pro page:

**Before**

- [Auth pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages)

**After**

- [App shells](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

## What you can display

One strong use is the Google to password collision. Other
linking variants:

- **Provider to provider.** Match a new GitHub sign in
  to an existing Google account on the same address.
- **Merge preview.** List the data that carries over
  before the user confirms the link.
- **Unlink confirmation.** Reuse the two-row panel to
  detach a connected sign in method later.

> Tip: show both identities and say plainly that nothing
> merges or deletes; an account collision with no detail
> reads as a takeover and gets abandoned.

## More in Application Auth Pages

- [Accept Invite Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/accept-invite-page)
- [Account Recovery Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-recovery-page)
- [Approval Pending Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/approval-pending-page)
- [Backup Codes Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/backup-codes-page)
- [Deactivated Account Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/deactivated-account-page)
- [Device Approval Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/device-approval-page)
- [Email Changed Confirm](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/email-changed-confirm)
- [Forgot Password Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/forgot-password-page)
- [Join Workspace Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/join-workspace-page)
- [Locked Account Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/locked-account-page)
- [Magic Link Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/magic-link-page)
- [MFA Enrollment Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/mfa-enrollment-page)
- [Oauth Callback Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/oauth-callback-page)
- [Oauth Consent Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/oauth-consent-page)
- [Passkey Setup Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/passkey-setup-page)
- [Password Expired Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/password-expired-page)
- [Reset Password Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/reset-password-page)
- [Session Expired Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/session-expired-page)
- [Sign In Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sign-in-page)
- [Sign Up Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sign-up-page)
- [Sso Error Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sso-error-page)
- [Sso Login Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sso-login-page)
- [Two Factor Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/two-factor-page)
- [Verify Email Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/verify-email-page)
- [Welcome Back Login](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/welcome-back-login)
- [Workspace Picker Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/workspace-picker-page)
