Control Access with Custom Claims and Security Rules  |  Firebase

In the above example, only users with admin set to true in their token claim would have ... signed in with supported providers (Email/Password, Google, Facebook, phone, etc). ... The code examples and solutions described in this page draw from both the ... Add incremental custom claim without overwriting existing claims.

Lee mas