title: Using mail and password to authenticate via the REST API [Firebase]
body: <p>I was wondering whether it is <strong>possible</strong> to actually <strong>authenticate</strong> to the Firebase <strong>REST API withouth</strong> using the <strong>custom authentication</strong>?</p>
  
  <p>I've worked with Firebase now for some time and I'm currently thinking about migrating a backend of mine to Firebase.
  The app that uses the backend currently uses a REST API and does not need realtime data at all.
  Thus I'd like to use only the REST API and not the full Android framework on the clients.</p>
  
  <p><strong>Is it possible to get an auth token using the mail &amp; password authentication of Firebase via HTTP-requests?</strong></p>
  
  <p>In the <a href="https://www.firebase.com/docs/rest/guide/user-auth.html" rel="noreferrer">old docs</a> I've only found a solution with custom login and in the <a href="https://firebase.google.com/docs/reference/rest/database/user-auth" rel="noreferrer">new docs</a> you seem to need a Google Service Account.</p>
  
  <p>Any help or advice appreciated.</p>