python-samples icon indicating copy to clipboard operation
python-samples copied to clipboard

Authenticate Classroom Req with Firebase Auth

Open Raff-project10x opened this issue 4 years ago • 0 comments

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.

Raff-project10x avatar Dec 02 '21 02:12 Raff-project10x