firebase / firebase/firebase-admin-java

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

オープン
#1,093 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs-triage type: feature request
主要言語
Java
スター
620
フォーク
305
平均マージ
3時間 23分
マージ済み PR(30日)
1

説明

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

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

評価

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

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

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