Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5153 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 24
5202
1
ก.ย. 23
6266
0
มี.ค. 21
2888
0
ต.ค. 20
3595
CAS Authentication แก้ไขแล้ว
5
ก.พ. 19
8191