{"id":19850179,"url":"https://github.com/authsignal/next-auth-passkeys-example","last_synced_at":"2026-05-11T21:31:48.024Z","repository":{"id":205201699,"uuid":"713651435","full_name":"authsignal/next-auth-passkeys-example","owner":"authsignal","description":"Example integrating Authsignal with NextAuth.js","archived":false,"fork":false,"pushed_at":"2025-03-24T01:34:27.000Z","size":763,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-01T09:49:47.211Z","etag":null,"topics":["authentication","authsignal","nextauth","nextjs","passkeys","passwordless","webauthn"],"latest_commit_sha":null,"homepage":"https://docs.authsignal.com/passkeys/getting-started","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/authsignal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-03T00:40:19.000Z","updated_at":"2025-04-27T00:09:22.000Z","dependencies_parsed_at":"2023-11-07T04:16:55.690Z","dependency_job_id":null,"html_url":"https://github.com/authsignal/next-auth-passkeys-example","commit_stats":null,"previous_names":["authsignal/next-auth-passkeys-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/authsignal/next-auth-passkeys-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authsignal%2Fnext-auth-passkeys-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authsignal%2Fnext-auth-passkeys-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authsignal%2Fnext-auth-passkeys-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authsignal%2Fnext-auth-passkeys-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authsignal","download_url":"https://codeload.github.com/authsignal/next-auth-passkeys-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authsignal%2Fnext-auth-passkeys-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32913552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authsignal","nextauth","nextjs","passkeys","passwordless","webauthn"],"created_at":"2024-11-12T13:24:39.743Z","updated_at":"2026-05-11T21:31:48.019Z","avatar_url":"https://github.com/authsignal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Authsignal Image\" src=\"./public/hero.png\"\u003e\n\u003c/div\u003e\n\n\u003c/br\u003e\n\n# Passkeys in a Next.js App with Authsignal and NextAuth\n\nThis example shows how to integrate passkeys into a Next.js application using Authsignal + NextAuth.\n\n## Introduction\n\nAuthsignal is a step-up authentication platform that seamlessly adds passkeys and MFA anywhere in your application, providing enhanced security exactly when you need it.\n\n## Deploy\n\nDeploy this example to Vercel, please not that you'll need to add environment variables.\n\n\u003ca href=\"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fauthsignal%2Fnext-auth-passkeys-example\"\u003e\u003cimg src=\"https://vercel.com/button\" alt=\"Deploy with Vercel\"/\u003e\u003c/a\u003e\n\n## Overview\n\nThis demo uses NextAuth's built in email magic link provider for account creation and email magic link sign in. Once a user is logged in, they can create a passkey that can be used for signing in.\n\nYou will need to use your own email provider service to send magic links to users.\n\nYou will need to configure your Authsignal tenant to setup passkeys. Learn more here https://docs.authsignal.com/passkeys/getting-started.\n\n## Running the application\n\n1. **Install Dependencies**\n\n   ```bash\n   npm install\n   ```\n\n2. **Add Environment Variables**\n\n   Copy the `.env.example` file to a new file named `.env.local` and fill in your environment variables.\n\n3. **Setup Prisma**\n\n   - Add your database provider to the datasource object in schema.prisma. The default is `postgresql`.\n\n   - Generate the Prisma Client:\n\n     ```bash\n     npx prisma generate\n     ```\n\n   - Run the Prisma migration to configure your database to use the schema:\n   \n     ```bash\n     npx prisma migrate dev\n     ```\n\n4. **Start the application**\n\n   ```bash\n   npm run dev\n   ```\n\n5. **Open the application**\n\n   Navigate to [http://localhost:3000](http://localhost:3000) in your browser to see the application.\n\n\n## Learn More\n\nTo learn more, check out the following resources:\n\n- [Authsignal NextAuth Integration Docs](https://docs.authsignal.com/integrations/nextauth-js)\n- [NextAuth Docs](https://next-auth.js.org/getting-started/introduction)\n- [Prisma Docs](https://www.prisma.io/docs)\n- [Next.js Docs](https://nextjs.org/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthsignal%2Fnext-auth-passkeys-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthsignal%2Fnext-auth-passkeys-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthsignal%2Fnext-auth-passkeys-example/lists"}