title: Does Firebase create accounts for all authentication types?
body: <p>Email registrations are seen as a new record under the <strong>Simple Login</strong> &rarr; <strong>Email</strong> tab in our forge.</p>
  
  <p>But what happens when a user <em>Signs In</em> using one of the OAuth2 logins like Facebook or Google?</p>
  
  <p>Take the <a href="https://www.firebase.com/docs/security-quickstart.html" rel="nofollow">example</a> right off the site and apply multiple contexts to it:</p>
  
  <pre><code>{
    "rules": {
      ".read": true,
      "comments": {
        "$comment": {
          ".write": "auth != null",
          ".validate": "auth.id == newData.child('userid').val() &amp;&amp; newData.hasChildren(['userid', 'body']) &amp;&amp; newData.child('body').isString()"
        }
      }
    }
  }
  </code></pre>
  
  <ul>
  <li><p>If a user logs in with a Facebook account will Firebase create a new <code>auth</code> record and scope security rules in the same context as an Email/Password login? </p></li>
  <li><p>If so are those registrations viewable in the same way as our Email auth type? Do you perform operations on those records like (delete) in the same way?</p></li>
  <li><p>What would be the best way to scheme a master userId collection that enables a user to tie multiple account types together? <em>(Facebook, Google, and Email all tied together)</em></p></li>
  </ul>