Is there a way to check if the request user email is verified in the Firestore security rules?
something like:
function isEmailVerified() {
return request.auth.emailVerified == true;
}
Is there a way to check if the request user email is verified in the Firestore security rules?
something like:
function isEmailVerified() {
return request.auth.emailVerified == true;
}
The correct syntax is:
If you want to know all claims available in your token, you can decode the JWT in your app or through jwt.io.
Some relevant documentation: