[Task]: Handle missing 2FA gracefully in pinguino

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript

調査の方向性

The issue describes Pinguino handling 2FA requirements before feature requests and handling API errors when 2FA is missing, but it does not name files or tests. Start by locating Pinguino's request and authentication flows, then identify how API errors are surfaced. Done means requests check for required 2FA and missing-2FA API errors are handled gracefully.

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

説明

component:pinguino_devhub
Description

Because of reprompting (https://github.com/mozilla/addons/issues/16438) or just as a blanket requirement for the entire thing, some features require 2FA.

Pinguino should handle that gracefully, ideally checking whether the user needs to enter or re-enter 2FA depending on the page/feature before it comes up and redirecting the user, but also handling the API error if they somehow manage to make a request without 2FA enabled on APIs that require it.

Acceptance Criteria
  • Pinguino checks for 2FA before making requests that would require it
  • Pinguino handles API returning an error because of missing 2FA

┆Issue is synchronized with this Jira Task

主要言語
Makefile
スター
135
フォーク
52
平均マージ
6日 18時間
マージ済み PR(30日)
7

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

mozilla/addons のほかの issue

mozilla/addons の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

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

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