I can't authorize gmail api in ubuntu
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python, ubuntu
- Ambito
- authentication
Direzione di ricerca
The report concerns the Gmail quickstart sample for Python in this repo, run on a headless Ubuntu machine. Start by reading that sample's OAuth flow to see how it obtains credentials, then reproduce the localhost redirect failure over SSH. The payload does not say what change is wanted, so a newcomer would first need to ask a maintainer whether the fix is a docs note or a code change.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
https://developers.google.com/gmail/api/quickstart/python?authuser=1
I take the necessary steps from this link and download the credentials.json file to my workspace. then i run the python code. and it gives me a printout:
Please visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=28xxxx1398-c8o09oxxxxxhksl11rn6h0xxxjb84.apps.googleusercontent.com&redirect_uri=httxxx36865%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.readonly&state=JbxxxxxteGYZD&access_type=offline
I go to the link here and choose my gmail account, but localhost redirects me and does not authorize me.
I use ubuntu and there is no user interface. I can only connect to the terminal remotely. I enter the link given for me on my windows computer.
localhost error
https://i.stack.imgur.com/60QaU.png
- Python version (
3.6) - OS (Linux)
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 917
- Merge medio
- 3m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di googleworkspace/python-samples
-
ايقاف البحث الأمنForse di nuovo libera @sqrrrl l’ha presa 400 giorni fa e non c’è nessuna pull request aperta. Aperta
googleworkspace/python-samples#2434 · 1 assegnatario ·
-
Slow Uploads using Google Drive API with PythonForse di nuovo libera @sqrrrl l’ha presa 740 giorni fa e non c’è nessuna pull request aperta. Aperta
googleworkspace/python-samples#1852 · 1 commento · 1 assegnatario ·
-
403 error from google after a few successful runs of my codeForse di nuovo libera @vinay-google l’ha presa 912 giorni fa e non c’è nessuna pull request aperta. Aperta
googleworkspace/python-samples#1424 · 1 assegnatario ·
-
How to see the progress of files which is getting uploadedForse di nuovo libera @vinay-google l’ha presa 928 giorni fa e non c’è nessuna pull request aperta. Aperta
googleworkspace/python-samples#1404 · 1 assegnatario ·
-
Phyton SamplesForse di nuovo libera @PierrickVoulet l’ha presa 975 giorni fa e non c’è nessuna pull request aperta. Aperta
googleworkspace/python-samples#1279 · 1 assegnatario ·
Tutte le issue di googleworkspace/python-samples
Issue simili
-
[Bug]: HTTP 499 (Client Closed Request) is classified as a non-retryable format_error, so a mid-flight abort fails the turn over instead of retryingForse già presa @yipinghuang1991 l’ha presa oggi. Apertacomp/agent P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NousResearch/hermes-agent#156837 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Missing continue on ValueError in CpanBackend.check_feed causes UnboundLocalError or duplicate yieldsForse già presa @muskan-creates352 l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
fedora-infra/anitya#2188 ·
I maintainer di solito rispondono entro 1 giorno
-
docs documentation need-triage SaaS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
integration:hermes
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
vectorize-io/hindsight#6601 ·
I maintainer di solito rispondono entro 1 giorno
-
triage:product type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
dbt-labs/dbt-adapters#2333 ·
I maintainer di solito rispondono entro 1 giorno