firebase / firebase/firebase-admin-java
[FR] I'd like to be able to enable and disable TOTP MFA from Java code
- Lingua principale
- Java
- Stelle
- 620
- Fork
- 305
- Merge medio
- 3h 23m
- PR unite (30g)
- 1
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia confrontando la funzionalità richiesta di Java Admin SDK con la documentazione collegata su TOTP MFA e il workflow esistente di gcloud-cli. Esamina come viene utilizzato il file dell'account di servizio per ottenere un token e come la configurazione potrebbe essere esposta tramite un comando HTTP o un'API SDK. Il lavoro è completato quando è possibile abilitare e disabilitare TOTP MFA da Java senza autenticazione gcloud basata sul browser.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api, authentication
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100