Authenticate Classroom Req with Firebase Auth

未關閉
#225 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
12/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
google-cloud, python

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Python
星號
1.4k
分支
917
平均合併
3 分鐘
30 天內合併 PR
1

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

googleworkspace/python-samples 的其他 Issue

查看 googleworkspace/python-samples 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。