Error 400: redirect_uri_mismatch

Đang mở
#166 5 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
15/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
authentication

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
Python
Star
1.4k
Fork
917
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googleworkspace/python-samples

Tất cả issue của googleworkspace/python-samples

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.