Error 400: redirect_uri_mismatch

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

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
15/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python

研究方向

The payload names no file or entry point, so start by finding which Python sample runs the OAuth installed-app flow on a local redirect port. Reproduce the redirect_uri_mismatch error with that sample and compare the redirect URI it sends with the one registered for the OAuth client. Done means either the sample works with a documented redirect setup or the setup steps are written down. The issue has no expected behavior or steps, so ask the reporter for them first.

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

描述

Expected Behavior

Actual Behavior

The redirect URI in the request, http://localhost:59771/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/242599106987-gld677j49fgu7q7cf56aohsgkn38klkh.apps.googleusercontent.com?project=242599106987

Steps to Reproduce the Problem

Specifications

  • Python version (python --version)
  • OS (Mac/Linux/Windows)
主要語言
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 摘要。