misskey/packages/frontend/src
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
..
boot 🎨 2024-09-24 21:02:22 +09:00
components Add Sign in with passkey Button (#14577) 2024-09-26 08:25:33 +09:00
directives feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
filters refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536) 2024-09-10 18:39:53 +09:00
pages Update about-misskey.vue 2024-09-26 08:18:23 +09:00
router enhance(frontend): tweak control panel 2024-09-22 18:35:10 +09:00
scripts 🎨 2024-09-24 21:02:22 +09:00
types fix/enhance(frontend): 映像・音声周りの改修 (#13206) 2024-03-30 16:02:03 +09:00
ui tweak style 2024-09-25 16:07:23 +09:00
unicode-emoji-indexes Fix(frontend): 日本語のUnicode絵文字追加辞書をインストールすると絵文字ピッカーでUnicode絵文字を検索できなくなるのを修正 (#13046) 2024-01-20 17:28:21 +09:00
widgets refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように (#14554) 2024-09-23 21:50:30 +09:00
workers (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
_boot_.ts Revert "refactor" 2024-09-17 17:05:52 +09:00
_dev_boot_.ts refactor 2024-08-27 20:36:43 +09:00
account.ts refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように (#14554) 2024-09-23 21:50:30 +09:00
cache.ts enhance(frontend): お気に入りチャンネルをキャッシュするように (#13881) 2024-05-27 17:19:09 +09:00
custom-emojis.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
debug.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
events.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
i18n.ts refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536) 2024-09-10 18:39:53 +09:00
index.html fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)から取るようにする (#13598) 2024-03-20 10:30:45 +09:00
index.mdx build(#10336): Storybook & Chromatic & msw (#10365) 2023-04-04 09:38:34 +09:00
instance.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
local-storage.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
navbar.ts refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように (#14554) 2024-09-23 21:50:30 +09:00
nirax.ts feat(frontend): ノート・ユーザータイムライン埋め込み (#13929) 2024-09-09 20:57:36 +09:00
os.ts refactor(frontend): popupMenuの項目作成時に三項演算子をなるべく使わないように (#14554) 2024-09-23 21:50:30 +09:00
pizzax.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
plugin.ts プラグインの簡易的なログを表示する機能 (#13564) 2024-03-13 22:38:26 +09:00
store.ts 🎨 2024-09-25 12:31:04 +09:00
stream.ts refactor(frontend): frontend-embed/src/to-be-sharedを共通化 (#14536) 2024-09-10 18:39:53 +09:00
style.scss 🎨 2024-09-24 21:02:22 +09:00
theme-store.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
timelines.ts Fix(frontend): LTL無効時にヘッダーにSTLが表示されてしまう & デフォルト、クラシックでリストが消えている (#14337) 2024-07-31 18:10:36 +09:00
type.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00