hippofish/packages/backend/src/core
Yuri Lee d8dd1683c9
Add Sign in with passkey Button (#14577)
* Sign in with passkey (PoC)

* 💄 Added "Login with Passkey" Button

* refactor: Improve error response when WebAuthn challenge fails

* signinResponse should be placed under the SigninWithPasskeyResponse object.

* Frontend fix

* Fix: Rate limiting key for passkey signin

Use specific rate limiting key: 'signin-with-passkey'  for passkey sign-in API to avoid collisions with signin rate-limit.

* Refactor: enhance Passkey sign-in flow and error handling

- Increased the rate limit for Passkey sign-in attempts to accommodate the two API calls needed per sign-in.
- Improved error messages and handling in both the `WebAuthnService` and the `SigninWithPasskeyApiService`, providing more context and better usability.
- Updated error messages to provide more specific and helpful details to the user.

These changes aim to enhance the Passkey sign-in experience by providing more robust error handling, improving security by limiting API calls, and delivering a more user-friendly interface.

* Refactor: Streamline 2FA flow and remove redundant Passkey button.

- Separate the flow of 1FA and 2FA.
- Remove duplicate passkey buttons

* Fix: Add error messages to MkSignin

* chore: Hide passkey button if the entered user does not use passkey login

* Update CHANGELOG.md

* Refactor: Rename functions and Add comments

* Update locales/ja-JP.yml

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>

* Fix: Update translation

- update index.d.ts
- update ko-KR.yml, en-US.yml
- Fix: Reflect Changed i18n key on MkSignin

---------

Co-authored-by: Squarecat-meow <kw7551@gmail.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-26 08:25:33 +09:00
..
activitypub Fix: <link rel="alternate">を追って照会するのはOKレスポンスが返却された場合のみに (#14627) 2024-09-25 12:31:37 +09:00
chart refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
entities fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
AbuseReportNotificationService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
AbuseReportService.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
AccountMoveService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
AccountUpdateService.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
AchievementService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AiService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AnnouncementService.ts fix(backend): use insertOne insteadof insert/findOneOrFail combination (#13908) 2024-06-01 11:16:44 +09:00
AntennaService.ts fix(antenna): src=list && userListId=null の場合クエリータイムアウトが発生する問題を修正 (MisskeyIO#721) (#14568) 2024-09-17 22:02:34 +09:00
AppLockService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AvatarDecorationService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
CacheService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
CaptchaService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ChannelFollowingService.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00
ClipService.ts Fix(backend): Limit antenna/webhook/list to exact amount (#14036) 2024-06-18 12:18:04 +09:00
CoreModule.ts Misskey® Reactions Buffering Technology™ (#14579) 2024-09-20 21:03:53 +09:00
CreateSystemUserService.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
CustomEmojiService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
DeleteAccountService.ts suspend周りの改修 (#14409) 2024-08-17 09:57:28 +09:00
DownloadService.ts enhance(frontend): サイズ制限を超過するファイルをアップロードしようとした際にエラーを出すように 2024-08-23 16:40:11 +09:00
DriveService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
EmailService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
FanoutTimelineEndpointService.ts fix(backend): fallback if sinceId is older than the oldest in cache when using FTT (#14061) 2024-06-22 12:43:03 +09:00
FanoutTimelineService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
FeaturedService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
FederatedInstanceService.ts parse notRespondingSince from redis instance cache (#14079) 2024-07-13 20:26:48 +09:00
FetchInstanceMetadataService.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
FileInfoService.ts refactor 2024-08-10 21:07:33 +09:00
GlobalEventService.ts fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
HashtagService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
HttpRequestService.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
IdService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ImageProcessingService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
InstanceActorService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
InternalStorageService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
LoggerService.ts refactor(backend): remove unused logger option 2024-06-06 10:01:50 +09:00
MetaService.ts fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
MfmService.ts fix(backend): happy-domを使用後にcloseするように (#14615) 2024-09-23 21:43:48 +09:00
ModerationLogService.ts fix import 2024-08-09 10:51:18 +09:00
NoteCreateService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
NoteDeleteService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
NotePiningService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
NoteReadService.ts refactor: Refactor NoteReadService.read (#13429) 2024-02-22 21:10:28 +09:00
NotificationService.ts enhance: 通知の履歴をリセットできるように (#13335) 2024-02-29 20:03:30 +09:00
PollService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ProxyAccountService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
PushNotificationService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
QueryService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
QueueModule.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
QueueService.ts Misskey® Reactions Buffering Technology™ (#14579) 2024-09-20 21:03:53 +09:00
ReactionsBufferingService.ts fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
ReactionService.ts fix(backend): RBTの修正 (#14621) 2024-09-24 18:29:02 +09:00
RegistryApiService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RelayService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
RemoteLoggerService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RemoteUserResolveService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ReversiService.ts fix(backend): リバーシの設定変更が反映されないのを修正 (#14404) 2024-08-16 21:02:12 +09:00
RoleService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
S3Service.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
SearchService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
SignupService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
SystemWebhookService.ts feat: UserWebhook/SystemWebhookのテスト送信機能を追加 (#14489) 2024-09-19 17:20:50 +09:00
UserAuthService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserBlockingService.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
UserFollowingService.ts refactor/perf(backend): provide metadata statically (#14601) 2024-09-22 12:53:13 +09:00
UserKeypairService.ts fix(backend): memory leak in memory caches (#14363) 2024-08-18 13:34:01 +09:00
UserListService.ts Fix(backend): Limit antenna/webhook/list to exact amount (#14036) 2024-06-18 12:18:04 +09:00
UserMutingService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserRenoteMutingService.ts fix(backend): リノートミュートがキャッシュが切れるまで効かない問題を修正 (#14242) 2024-07-18 08:55:36 +09:00
UserSearchService.ts fix: サジェストされるユーザのリストアップ方法を見直し (#14180) 2024-07-12 21:14:09 +09:00
UserService.ts feature: ユーザ作成時にSystemWebhookを発信できるようにする (#14321) 2024-07-29 21:31:32 +09:00
UserSuspendService.ts suspend周りの改修 (#14409) 2024-08-17 09:57:28 +09:00
UserWebhookService.ts feat: UserWebhook/SystemWebhookのテスト送信機能を追加 (#14489) 2024-09-19 17:20:50 +09:00
UtilityService.ts feat: media silence (#13842) 2024-07-30 19:47:45 +09:00
VideoProcessingService.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
WebAuthnService.ts Add Sign in with passkey Button (#14577) 2024-09-26 08:25:33 +09:00
WebfingerService.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
WebhookTestService.ts feat: UserWebhook/SystemWebhookのテスト送信機能を追加 (#14489) 2024-09-19 17:20:50 +09:00