No additional scopes are required to make this example work. I believe App Engine instances already have the required cloud-platform scope.

I don’t think Firebase Auth can be integrated with the oauth_required decorator. But there’s a way to authenticate users with Firebase Auth in an App Engine app: https://cloud.google.com/appengine/docs/standard/python/authenticating-users-firebase-appengine

This essentially handles the authentication client-side, and then sends the user’s ID token to the server for verification.

Written by

Software engineer at Google. Enjoys working at the intersection of cloud, mobile and programming languages. Fan of all things tech and open source.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store