Open
Description
Is your feature request related to a problem? Please describe.
UserRecord.java does not parse a user's multi factor enrollment information, which is documented here.
{
uid: 'some-uid',
// ...
multiFactor: {
enrolledFactors: [
// 2FA with SMS as 2nd factor.
{
uid: '53HG4HG45HG8G04GJ40J4G3J',
phoneNumber: '+16505551234',
displayName: 'Work phone',
enrollmentTime: 'Fri, 22 Sep 2017 01:49:58 GMT',
factorId: 'phone',
},
],
},
};
Describe the solution you'd like
Add a mfaInfo
field to UserRecord
. Example from the Node.js SDK: https://github.com/firebase/firebase-admin-node/blob/master/src/auth/user-record.ts#L78
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
google-oss-bot commentedon Feb 25, 2022
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
ghost commentedon May 19, 2022
We also need this
rafhofman commentedon Feb 9, 2023
Bumping up
JaredEzz commentedon Oct 25, 2023
I also need this functionality. https://cloud.google.com/identity-platform/docs/admin/manage-mfa-users All methods from this documentation should be supported
wojteko22 commentedon May 29, 2024
Is there any workaround available now?
JaredEzz commentedon May 29, 2024
The workaround is to use the Node.js SDK with these docs. Not great, but it worked for us. https://cloud.google.com/identity-platform/docs/admin/manage-mfa-users