---
title: "Sign-in with passkey and SSO"
description: "Kilnwork's sign-in for schools and multi-studio teams: a passkey first, single sign-on by work email or domain, then email and password, in one centred card."
plan: Pro
docs: https://ui.edbn.me/docs/templates/sign-in-with-passkey-and-sso
---

# Sign-in with passkey and SSO

Kilnwork's sign-in for schools and multi-studio teams: a passkey first, single sign-on by work email or domain, then email and password, in one centred card.

The heading over one centred card between Kilnwork's header and footer, with a line to sales under it. A passkey is the primary way in; it shows a pending state, and a device with no passkey gets a short explanation and a retry. The sample's passkey always fails. Continue with single sign-on turns the card into one field for a work email or a school's domain. An unknown domain comes back from the sample server as a field error; a known one (hollowayschool.example) shows Redirecting to your identity provider, with a way back. Email and password are built on the Pro forms, with a reset link on the password's label row: a wrong password is one form error and the fifth wrong try says when to try again; kiln-2026 signs in. The card's steps share one grid cell, so the card keeps its height and focus moves with each step. It opens as it looks after a failed passkey, with the email filled in; sample={false} opens it empty.

A Pro page template built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/sign-in-with-passkey-and-sso
```

## Dependencies
- npm: lucide-react@^1.33.0, zod@^4.3.5
- edbn: edbn-base, button, card, field, spinner, text-link, form-core, form-fields

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More authentication templates

All 10, with install commands: https://ui.edbn.me/docs/templates/authentication (Markdown: https://ui.edbn.me/docs/templates/authentication.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
