In order to restrict the usage of the Firebase API token I want to add Android restrictions on the API key. However, in order for the requests to Firebase being accepted I then need to pass the headers X-Android-Package and X-Android-Cert So, is there a way to include custom headers in this request? signUserInResponse = self.firebase_auth.sign_in_with_email_and_password(email_entered, password_entered) Or do I need to use the requests library to make the request? signUserInResponse = requests.post(firebase_signIn_url, json=payload_signIn, headers=headers) Works fine when using requests and constructing my own API request. Continue reading...