Google OAuth - http redirect issue - ODOO 18.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- docker
- Lĩnh vực
- authentication, infrastructure
Hướng nghiên cứu
Bắt đầu bằng cách so sánh redirect_uri được hiển thị trong lỗi của Google với URI chuyển hướng OAuth đã đăng ký trong Google Cloud Console, sau đó xem xét hành vi HTTP-to-HTTPS của reverse proxy cho /google_gmail/confirm. Hoàn thành khi chuyển hướng được tạo sử dụng đúng URL HTTPS và kết nối Gmail hoàn tất mà không có lỗi không khớp 400 hoặc phản hồi forbidden.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
It seems that clicking on Connect your Gmail accout in odoo fails because of a 400: redirect_uri_mismatch error.
I have attempted everything in the documents however something isn't lining up and I do not believe it is my configuration.
HTTP > HTTPS redirect is working correctly on my site/server through my reverse proxy
reply from Google:
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.
If you're the app developer, register the redirect URI in the Google Cloud Console.
Request details: redirect_uri=http://myhostnamehere.com/google_gmail/confirm flowName=GeneralOAuthFlow
[Related developer documentation](https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch)
If I try to visit: http://myhostnamehere.com/google_gmail/confirm
I do get the FORBIDDEN error message - however I have updated the google plug in as described in the documentation and that hasn't fixed it. This is also a new installation so I would assume the latest plug in would have been installed.
Forbidden
You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.
I am stuck unfortuantely at this point to understand how to move forward.
- Ngôn ngữ chính
- Dockerfile
- Star
- 1.2k
- Fork
- 1.7k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của odoo/docker
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
-
Missing PyJWT ?Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Issue tương tự
-
[BUG] Keyring unreachableĐang mởbug status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
dongdongbh/Mindwtr#1587 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
-
BUG: API keys with a timezone in expires_at make every request fail with TypeErrorCó thể đã có người làm @nurlanmnn đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-agent
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
gregwebs/agent-vm-images#216 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: P2 track: portal type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenLakeForge/openlakeforge#1324 ·
Maintainer thường phản hồi trong vòng 1 ngày