bug: FIDO 2FA with OAuth not working on iOS

オープン
#6,749 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github, ios, react-native, typescript

調査の方向性

Issue ではファイルもテストも指定されていません。まず、iOS を実行している iPhone で Yubikey を使った GitHub OAuth ログインを再現し、その後、モバイルフローを動作しているブラウザフローおよびデスクトップフローと比較します。セキュリティキーのチャレンジが正常に完了し、すぐに "Authentication failed" が表示されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

🐛 bug
Describe the Bug

Hey there,

I've tried to log in via OAuth2 (GitHub) via the mobile app. The login works well on the browser and also on the desktop app. On the mobile however, after getting past the username/password, I end up on the "Use security key" option, which insta-fails with "Authentication failed".

The same flow works on Mattermost, so I'd assume there's some misconfiguration in the Rocket Chat app, not some platform or library limitation per se.

Steps to Reproduce

Erm, try to log in via GitHub SSO with a Yubikey as 2FA.

Expected Behavior

Get prompted for a security key challenge.

Actual Behavior

Instant error message

Rocket.Chat Server Version

7.11.0

Rocket.Chat App Version

4.65.0

Device Name

iPhone 14

OS Version

iOS

Additional Context

No response

主要言語
TypeScript
スター
2.4k
フォーク
1.5k
平均マージ
1日 15時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketChat/Rocket.Chat.ReactNative のほかの issue

RocketChat/Rocket.Chat.ReactNative の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。