Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] I'd like to be able to enable and disable TOTP MFA from Java code

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java

調査の方向性

まず、要求されている Java Admin SDK の機能を、リンク先の TOTP MFA ドキュメントおよび既存の gcloud-cli ワークフローと比較します。サービス アカウント ファイルを使用してトークンを取得する方法と、HTTP コマンドまたは SDK API を通じて設定を公開できる方法を確認します。ブラウザベースの gcloud 認証なしで Java から TOTP MFA を有効化および無効化できれば完了です。

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

説明

needs-triage type: feature request

I want to be able to quickly configure firebase instances (specifically MFA) from my java code.

For this to happen I need a way to:

  • Get a gcloud token (The only way I've found to this is by downloading the gcloud-cli, all other methods somehow lead to invalid tokens) using java code and the firebase service account file
  • Make the configuration (This could be done using an HTTP-Command but I feel like it should be part of the admin-sdk)

Currently I'm using the gcloud-cli. This won't be an option on the server since it needs a browser to login

Apperently this is actually possible in the node sdk using only the service account file, according to the doc:

https://firebase.google.com/docs/auth/web/totp-mfa

I haven't tested it though.

主要言語
Java
スター
620
フォーク
305
平均マージ
4日 9時間
マージ済み PR(30日)
4

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

firebase/firebase-admin-java のほかの issue

firebase/firebase-admin-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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