title: .net core Web API and Firebase Auth
body: <p>I am developing a web application using <strong>.net Core Web API</strong>. So far I have used <strong>Identity</strong> to authenticate and manage users. Is it often the case and suggested to use an auth service like <strong>Google Firebase Auth</strong> while still having an own server backend?</p>
  
  <p>I am thinking about using Google Firebase Auth so that users can login in different ways (using Facebook, Google, etc.). 
  However, I want to have a self hosted backend application and database.
  Now I am asking myself:</p>
  
  <ol>
  <li><p>How do I store user data on my server: Should I use the uid (returned from Firebase) as foreign key to save user related data in my database?</p></li>
  <li><p>How can I make use of Roles (Identity)? How can I add/remove a Role from a particular user?</p></li>
  <li><p>Should I store additional user data (like email, name, etc.) in my database or should I always retrieve those infos from the token!? Are those infos provided by Firebase Auth at all?</p></li>
  </ol>
  
  <p>Thank you for bringing light into the darkness!</p>