I want firebase security rules to allow if user creates his account using phone number. I try to using
request.auth.token.phone_number
But not working.
I want firebase security rules to allow if user creates his account using phone number. I try to using
request.auth.token.phone_number
But not working.
You are doing it wrong correct syntax will be:
request.auth.token.firebase.sign_in_provider == "phone";