feat: 增加passkey支持 (#270)

* chore: add .pnpm-store to .gitignore

* feat: implement passkey authentication and management features

- Added passkey login and registration endpoints to the auth service.
- Introduced PasskeyManagement component for user passkey management.
- Updated localization files to include passkey-related strings in English and Chinese.
- Created utility functions for handling passkey operations in WebAuthn.
- Adjusted login page to support passkey login flow.
- Modified configuration for local development server.

* feat: enhance passkey management with modal input and localization updates

- Added a modal for entering passkey names during registration in the PasskeyManagement component.
- Updated English and Chinese localization files to include new strings for passkey name input.
- Improved user experience by validating passkey name input before registration.

* feat: enhance passkey login experience with localization updates

- Added new localization strings for passkey authentication errors and status messages in English and Chinese.
- Updated the login page to utilize localized strings for improved user feedback during passkey login attempts.

* feat: add name field to UserPasskey interface for enhanced user identification

* feat: integrate passkey support across login and settings

- Added passkey option to login configuration and updated related components to conditionally render passkey login button.
- Enhanced MyAccount and Logins components to manage passkey settings and display passkey management options based on configuration.
- Updated English and Chinese localization files to include new strings for passkey functionality.

* feat: added server version check for passkey
This commit is contained in:
haorwen
2025-12-12 21:25:49 +08:00
committed by GitHub
parent 344ad200df
commit 210a34b33c
16 changed files with 578 additions and 8 deletions
+6 -1
View File
@@ -142,6 +142,11 @@
"patchedDependencies": {
"slate-react": "patches/slate-react.patch",
"@toast-ui/editor": "patches/@toast-ui__editor.patch"
}
},
"ignoredBuiltDependencies": [
"@firebase/util",
"core-js-pure",
"protobufjs"
]
}
}