Meta tags:
Headings (most frequently used words):
auth, js, webauthn, passkeys, install, peer, dependencies, apply, the, required, schema, migrations, update, configuration, custom, pages, about, download, acknowledgements,
Text of the page (most frequently used words):
auth (19), the (19), webauthn (11), signin (10), simplewebauthn (9), null (8), #passkey (8), you (8), prisma (8), not (8), browser (6), adapter (6), text (6), for (6), database (5), button (5), next (5), from (5), import (5), using (5), and (5), pages (5), passkeys (5), add (5), provider (5), peer (4), custom (4), authenticator (4), server (4), azure (4), better (3), npm (3), github (3), credentials (3), with (3), status (3), update (3), session (3), login (3), function (3), default (3), dependency (3), providers (3), credentialid (3), userid (3), table (3), above (3), adapters (3), getting (3), started (3), discord (2), security (2), introduction (2), div (2), onclick (2), new (2), register (2), usesession (2), const (2), export (2), use (2), client (2), page (2), also (2), can (2), following (2), are (2), your (2), experimental (2), prismaadapter (2), prismaclient (2), configuration (2), create (2), cascade (2), key (2), migration (2), sql (2), requires (2), postgresql (2), more (2), migrations (2), required (2), skip (2), that (2), only (2), bun (2), yarn (2), pnpm (2), install (2), framework (2), integration (2), support (2), authentication (2), identity (2), inc, 2026, contributors, acknowledgements, download, community, about, sign, unauthenticated, action, authenticated, return, data, react, app, tsx, when, need, installed, simplewebauth, leverage, initiate, registration, flows, code, built, then, good, navigating, route, should, include, true, enablewebauthn, make, sure, compatible, authenticator_credentialid_key, unique, index, createindex, delete, user, references, foreign, authenticator_userid_fkey, constraint, primary, transports, boolean, credentialbackedup, credentialdevicetype, integer, counter, credentialpublickey, provideraccountid, createtable, short, additional, called, this, raw, details, including, example, other, databases, check, out, updated, schemas, docs, apply, schema, installing, dependencies, node, beta, changes, all, well, any, plans, therefore, currently, supported, frameworks, coming, soon, recommended, production, migrating, integrations, xata, upstash, redis, unstorage, typeorm, surrealdb, supabase, sequelize, pouchdb, neon, neo4j, mongodb, mikroorm, kysely, hasura, firebase, firestore, faunadb, edgedb, dynamodb, drizzle, dgraph, cloudflare, tables, zoom, zoho, zitadel, yandex, workos, wordpress, wikimedia, webex, vipps, mobilepay, united, effects, twitter, twitch, trakt, todoist, tiktok, threads, strava, spotify, slack, simplelogin, sendgrid, salesforce, sailpoint, resend, reddit, postmark, pipedrive, pinterest, patreon, passage, osu, osso, onelogin, okta, notion, nodemailer, nextcloud, netsuite, netlify, naver, microsoft, entra, medium, mattermost, mastodon, mailru, mailgun, mailchimp, loops, logto, linkedin, line, keycloak, kakao, instagram, server4, hubspot, google, gitlab, fusionauth, frontegg, freshbooks, foursquare, forwardemail, figma, faceit, facebook, eveonline, duende, server6, dropbox, dribbble, descope, coinbase, cognito, click, bungie, boxyhq, saml, box, bitbucket, beyondidentity, battlenet, bankid, norge, devops, b2c, authentik, auth0, asgardeo, apple, school, connections, typescript, deployment, protecting, resources, get, signout, management, magic, links, oauth, installation, migrate, light, ask, concepts, api, reference, guides, project, now, part, content,
Text of the page (random words):
webauthn skip to content the auth js project is now part of better auth auth js getting started guides api reference concepts security ai ask ai github 22 2k light introduction migrate to better auth getting started installation authentication oauth magic links credentials webauthn database session management signin and signout get session protecting resources custom pages deployment typescript connections providers 42 school apple asgardeo auth0 authentik azure ad azure ad b2c azure devops bankid norge battlenet beyondidentity bitbucket box boxyhq saml bungie click up cognito coinbase credentials descope discord dribbble dropbox duende identity server6 eveonline facebook faceit figma forwardemail foursquare freshbooks frontegg fusionauth github gitlab google hubspot identity server4 instagram kakao keycloak line linkedin logto loops mailchimp mailgun mailru mastodon mattermost medium microsoft entra id naver netlify netsuite nextcloud nodemailer notion okta onelogin osso osu passage passkey patreon pinterest pipedrive postmark reddit resend sailpoint salesforce sendgrid simplelogin slack spotify strava threads tiktok todoist trakt twitch twitter united effects vipps mobilepay vk webex wikimedia wordpress workos yandex zitadel zoho zoom adapters azure tables cloudflare d1 dgraph drizzle dynamodb edgedb faunadb firebase firestore hasura kysely mikroorm mongodb neo4j neon postgresql pouchdb prisma sequelize supabase surrealdb typeorm unstorage upstash redis xata integrations migrating to v5 getting started authentication webauthn webauthn passkeys ️ the webauthn passkeys provider is experimental and not recommended for production use the webauthn provider requires changes to all of the framework integration as well as any database adapter that plans to support it therefore the webauthn provider is currently only supported in the following framework integration and database adapters support for more frameworks and adapters are coming soon next auth 5 0 0 beta 8 or above auth prisma adapter 1 3 0 or above node 20 0 0 or above install peer dependencies npm pnpm yarn bun npm install simplewebauthn server 9 0 3 simplewebauthn browser 9 0 1 pnpm add simplewebauthn server 9 0 3 simplewebauthn browser 9 0 1 yarn add simplewebauthn server 9 0 3 simplewebauthn browser 9 0 1 bun add simplewebauthn server 9 0 3 simplewebauthn browser 9 0 1 the simplewebauthn browser peer dependency is only required for custom signin pages if you re using the auth js default pages you can skip installing that peer dependency apply the required schema migrations this is the raw sql migration for postgresql for more details including example migrations for other databases check out the updated prisma schemas at the auth prisma adapter docs in short the passkeys provider requires an additional table called authenticator migration add webauthn authenticator table sql createtable create table authenticator credentialid text not null userid text not null provideraccountid text not null credentialpublickey text not null counter integer not null credentialdevicetype text not null credentialbackedup boolean not null transports text primary key userid credentialid constraint authenticator_userid_fkey foreign key userid references user id on delete cascade on update cascade createindex create unique index authenticator_credentialid_key on authenticator credentialid update auth js configuration add the passkeys provider to your configuration also make sure you re using a compatible database adapter auth ts import passkey from next auth providers passkey import prismaadapter from auth prisma adapter import prismaclient from prisma client const prisma new prismaclient export default adapter prismaadapter prisma providers passkey experimental enablewebauthn true if you re using the built in auth js pages then you are good to go navigating to your signin route should include a signin with passkeys button custom pages if you re using a custom signin page you can leverage the next auth signin function to initiate webauthn registration and login flows with the following code when using the webauthn signin function you ll also need the simplewebauth browser peer dependency installed app login page tsx use client import usesession from next auth react import signin from next auth webauthn export default function login const data session update status usesession return div status authenticated button onclick signin passkey action register register new passkey button status unauthenticated button onclick signin passkey sign in with passkey button null div credentials database about auth js introduction security discord community download github npm acknowledgements contributors auth js better auth inc 2026
|