Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#1,093 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by comparing the requested Java Admin SDK capability with the linked TOTP MFA documentation and the existing gcloud-cli workflow. Review how the service account file is used to obtain a token and how the configuration could be exposed through an HTTP command or SDK API. Done means enabling and disabling TOTP MFA from Java without browser-based gcloud authentication.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
620
Forks
305
Avg merge
4d 9h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-java

All issues in firebase/firebase-admin-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.