I need to validate if a user has 2FA enabled and has logged in with it or not.
However, this is purely client side, it does not explain how to validate that on firebase side.
For example, the security rule to check a user has logged in: request.auth != null
To check a user has verified email is: request.auth.token.verified_email == true
What is the rule to check if user has 2FA enabled ??
If anyone watches stackoverflow:
https://stackoverflow.com/questions/65746288/firestore-security-rules-for-2fa/65777242, sorry for the duplicate entry, I can't seem to get a response there so I'm asking here.