# Application Auth Page: Device Approval Page

New device verification gate showing device, location, time, and account with approve and deny actions and an honest account-lock security note.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/device-approval-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-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/device-approval-page.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-auth-pages-device-approval-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, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/auth-pages/device-approval-page`

## About this block

Device Approval Page is the verification gate shown when
a sign-in comes from an unrecognised device. The detail
card lists four rows (Device: Windows 11, Chrome 126;
Location: Berlin, Germany; Time: Jun 13, 08:47 UTC;
Account: avery@acme.com) and two full-width buttons: Yes,
approve this device and No, deny this sign-in. The
security note below the buttons is the honest commitment:
if this was not you, clicking Deny immediately locks the
account and sends instructions to the registered address,
and no data is lost. A footer line names the 15-minute
expiry window and tells the user how to get a new link.

The device detail card is static markup, no open-state
Radix components. The 15-minute expiry note is the line
that prevents the frustrated follow-up email.

## When to use

Reach for this block as a full-page route sent by email
link when a new-device sign-in is detected, wired to your
approval and deny endpoints keyed on a short-lived token.

A natural flow around it on an Application Pro page:

**Before**

- Nothing, auth pages are the page

**After**

- [App shell](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 new-device email verification. Other
approval gates:

- **New location approval.** The same layout with an IP
  and ISP row replacing the device details.
- **API key first use.** Approve an unusual key access
  pattern from an unknown IP before proceeding.
- **OAuth app approval.** A device-style gate for a
  connected app requesting elevated scopes.

> Tip: naming the account on the detail card lets the
> user catch a wrong-account scenario before they approve
> access they did not intend to grant.

## More in Application Auth Pages

- [Accept Invite Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/accept-invite-page)
- [Account Linking Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-linking-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)
- [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)
