Authenticate Classroom Req with Firebase Auth

Offen
#225 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
12/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
google-cloud, python
Bereich
api, authentication

Rechercherichtung

The payload names no file or test, so start by finding the Google Classroom sample in this repo that obtains credentials and see how it creates the access token. The open question is whether a Firebase Auth ID token can be exchanged for Google API credentials, and that needs a design decision, not a code change. Done means a maintainer-agreed answer or proposal on the token flow, since the issue has no comments and no linked pull request.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
1.4k
Forks
917
Ø Merge
3 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleworkspace/python-samples

Alle Issues in googleworkspace/python-samples

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.