跳至内容
菜单
此问题已终结
1 回复
3555 查看

Hi, I have tried to configure Google OAuth and Google Calendar, when I try to access through Google, I get the following error. 

"Error 400: redirect_uri_mismatch". 

I have other applications connected m.ediante Google OAuth, but here I do not know how to solve this inconvenience.  

Odoo 17


形象
丢弃
编写者

Hi, 


The URLs that are in odoo are:


accounts.google.com/o/oauth2/auth


googleapis.com/oauth2/v3/userinfo

the URL that I have placed in Google is the following:


midominio.com/auth_oauth/signin


The credentials were validated. 



Even though the base URL is set with an HTTPS, the OAUTH uses a HTTP.

This is what is shown when you click on "error details" of the message "If you are a developer of this app, see error details."

Has anyone found a solution?

最佳答案

Hi,

Please check the following.


    Check URIs: Ensure that the URLs you've set up in Odoo for Google OAuth match the ones you've configured in your Google Cloud Console project.


    Update Google Console: If needed, update the redirect URIs in your Google Cloud Console to match Odoo's settings.


    Verify Credentials: Double-check that you're using the correct OAuth client ID and secret in Odoo.


    Test Again: After any changes, test the setup again to see if the error persists.


Hope it helps

形象
丢弃
相关帖文 回复 查看 活动
oauth_error=3 已解决
2
1月 22
9431
1
1月 16
5394
0
12月 23
2527
0
6月 18
4596
1
8月 25
378