Google OAuth - http redirect issue - ODOO 18.0
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- docker
調査の方向性
まず、Google のエラーに表示される redirect_uri と Google Cloud Console に登録されている OAuth リダイレクト URI を比較し、その後、/google_gmail/confirm に対するリバースプロキシの HTTP-to-HTTPS 動作を確認します。生成されたリダイレクトが正しい HTTPS URL を使用し、400 の不一致エラーや forbidden 応答なしに Gmail 接続が完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Dockerfile
- スター
- 1.2k
- フォーク
- 1.7k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
odoo/docker のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
Missing PyJWT ?オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
似ている issue
-
bug status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dongdongbh/Mindwtr#1587 ·
メンテナーはふだん 1 日以内に返信
-
docs security
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
-
BUG: API keys with a timezone in expires_at make every request fail with TypeError対応中かも @nurlanmnn が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 1/5 1〜3時間 初心者へのやさしさ 79/100
gregwebs/agent-vm-images#216 ·
メンテナーはふだん 1 日以内に返信
-
priority: P2 track: portal type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenLakeForge/openlakeforge#1324 ·
メンテナーはふだん 1 日以内に返信