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

Hi there,

We're running an odoo16 instance & we've setup this instance from scratch on Ubuntu [Aws EC2 Instance]

Everything is working fine, But when we configure Login with Google options, it shows the following error -

Error 400: redirect_uri_mismatch

Request details: redirect_uri=http://127.0.0.1:8069/auth_oauth/signin

What we've understood so far is, Google auth is Picking 127.0.0.1:8069 as Application url instead of the actual App URL [Subdomain].

Someone please help us, we're facing this issue for a very long time. Any suggestions are most welcome

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

Hi Manish,

Try setting up the two parameters in the system parameters.

Go to technical > System Parameters

Inside the System Parameters check for:

1. web.base.url : Set the value of this attribute as your domain.

2.web.base.url.freeze: Set the value of this attribute as your domain.(If this attribute is not present, create a new system parameter with the name web.base.url.freeze)

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 24
5267
1
thg 9 23
6292
0
thg 3 21
2888
0
thg 10 20
3648
CAS Authentication Đã xử lý
5
thg 2 19
8243