MIT License

项目介绍

corbado/passkey-tutorial 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 101 个 Star、3 次 Fork。

仓库全名
corbado/passkey-tutorial
开源许可证
MIT License
Star 数
101
Fork 数
3

README 摘要

Passkey Tutorial: Node.js (Express), JavaScript, MySQL & SimpleWebAuthn Introduction Welcome to repository of the Passkey Tutorial! This tutorial showcases how to implement passkeys in a simple web app, thus offering a more secure alternative to traditional passwords. By the end of this tutorial, you will have implemented an end-to-end passkey authentication system without relying on third-party passkey…

完整内容见 GitHub 原始 README 或本页 。

常见问题

passkey-tutorial 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 101 个 Star。

passkey-tutorial 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 passkey-tutorial 的源码?

可以直接克隆仓库:git clone https://github.com/corbado/passkey-tutorial.git;安装与运行步骤见仓库 README。

passkey-tutorial 最近还在维护吗?

仓库最近一次更新为 2025年3月19日,当前没有未关闭的 Issue;Star 数为 101,可作为社区活跃度的参考。

关于

Repository for Passkey Tutorial using Node.js (Express), JavaScript, MySQL & SimpleWebAuthn

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
208
价值分
71
活跃状态
活跃

README

Passkey Tutorial: Node.js (Express), JavaScript, MySQL & SimpleWebAuthn

Introduction

Welcome to repository of the Passkey Tutorial! This tutorial showcases how to implement passkeys in a simple web app, thus offering a more secure alternative to traditional passwords. By the end of this tutorial, you will have implemented an end-to-end passkey authentication system without relying on third-party passkey authentication providers.

Prerequisites

In the tutorial, we use the following tools and technologies, so having some basic knowledge in these areas is helpful:

  • Node.js (Express): Utilizes TypeScript for robust backend development with the Express framework.
  • Vanilla HTML & JavaScript/TypeScript: Implements a straightforward and effective frontend.
  • MySQL: Manages user data and passkey credentials securely.
  • SimpleWebAuthn: Handles WebAuthn operations for registration and authentication.

Features

In this passkey tutorial project, we implement the two basic WebAuthn / passkey cereomonies to sign-up / register and log in / authenticate with a passkey.

Passkey Sign-Up

The passkey sign-up enables users to create new accounts and generate passkeys. Here is the corresponding passkey register flow chart: Passkey Sign-Up Flow Chart

Passkey Login

The passkey login facilitates a secure login using the created passkeys. Here is the corresponding passkey login flow chart: Passkey Login Flow Chart

How to Use

Step 1: Clone the Repository

Clone the repository to your local machine:

git clone https://github.com/corbado/passkeys-tutorial

Step 2: Run the Project

Start the project using Docker:

docker compose up -d

License

This project is licensed under the MIT License.

Support & Feedback

Report an issue

If you encounter any bugs or have suggestions, please open an issue.

Slack channel

Join our Slack channel to discuss questions or ideas with the Corbado team and other developers.

Slack

Email

You can also reach out to us via email at [email protected].

评论

暂无评论