Authenticate Classroom Req with Firebase Auth

Aberta
#225 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
12/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
google-cloud, python
Domínio
api, authentication

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
1.4k
Forks
917
Merge médio
3min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de googleworkspace/python-samples

Todas as issues de googleworkspace/python-samples

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.