Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3323 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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. 



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
oauth_error=3 Đã xử lý
2
thg 1 22
9326
1
thg 1 16
5345
0
thg 12 23
2405
0
thg 6 18
4547
1
thg 8 25
203