Python Firebase authentication
<p>So I am trying to obtain some data from Firebase, which ofcourse has some rules/security constraints defined. I can authenticate my user from the <strong>Login &amp; Auth</strong> tab, and I'd like to get data from firebase, however my user is still not authenticated.</p>

<p><code>user = ref.authenticate(email, password)</code> , which returns the following for <code>user</code></p>

<pre><code>{
   u'token':{some long token here}',
   u'user':{
      u'uid':u'ef44b781-8842-4f28-abf0-2ac9aa0b2bea',
      u'provider':u'password',
      u'email':u'user@email.com',
      u'isTemporaryPassword':False,
      u'sessionKey':u'{session key here}}',
      u'md5_hash':u'{md5_hash here}}',
      u'id':u'ef44b781-8842-4f28-abf0-2ac9aa0b2bea'
   }
}
</code></pre>

<p>Now that I know the user is authenticated (otherwise it returns something along the lines of an error, I would like to do a simple GET <code>conversations = firebase.get(FIREBASE_NAME + '/conversations/' + me)</code>, where 'me' is the <code>user['user']['uid']</code></p>

<p>I have the following structure for <code>conversations</code>: </p>

<p><code>conversations/my-uid/other-uid/{data}</code></p>

<p>I would think my user is authenticated, still it returns a PermissionDenied</p>

<p><strong>EDIT</strong>
Solved this by using a different library you can find <a href="https://github.com/thisbejim/Pyrebase" rel="nofollow">here</a>. The initial library I used did not support authentication, while this one does. The way it was solved, was by implementing some functions from the other one and sending my token as follow: 
<code>FIREBASE.child('/messages/').get(token=token)</code></p>