Error 400: redirect_uri_mismatch

Offen
#166 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
15/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
authentication

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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)
Vorherrschende Sprache
Python
Sterne
1.4k
Forks
917
Ø Merge
3 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus googleworkspace/python-samples

Alle Issues in googleworkspace/python-samples

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.