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 摘要。