python-samples
python-samples copied to clipboard
Authenticate Classroom Req with Firebase Auth
Is it possible to authenticate requests to Google Classroom API with Firebase User Authentication data?
My ideal flow is that user hits button on front end (eg: get students from course) and their Firebase Auth Token is passed to our custom middle API which then authenticates the request to Google Classroom, retrieves and returns the data.
Currently the Classroom API requires a short lived token which is not refreshing automatically as I would expect. Re doing the O-Auth flow is not possible in production.