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

Hi,

We installed odoo 12 and try to connect with azure AD. Users are authenticated successfully via Azure AD OAuth but it showing error AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application.

Odoo configured via nginx Reverse proxy. Access the SSO by domain name odoo.example.com




形象
丢弃

i am facing Same Error. 

Using Odoo 13 Online Version, https://hr.mnsuet.edu.pk/web

Trying to setup Azure Auth but this error is coming

Request Id: 39da8725-deec-4ec6-b880-6f3abe269500 
Correlation Id: 207f98f8-74de-43ca-a531-f27615c916c2 
Timestamp: 2020-05-20T14:43:36Z 
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'da687b8e-ee82-433d-8a5c-7414ce86f56f'. 

My Redirect URI : https://hr.mnsuet.edu.pk/microsoft/auth_oauth/signin/

Kindly help

最佳答案

Hi there,

I had the same issue, here my solution:

Enable the proxy_mode in the odoo.conf, otherwise Odoo wont know that it is behind a reverse proxy and that the endpoint is in https: proxy_mode = True

Check the reply address, this can be done by hovering over the oauth button on the logon page. The authentication link is shown on the bottom or can be copied with a right click -> Copy Address.

Good luck, hope this helps!

形象
丢弃

Hi, can we modify proxy_mode on Odoo SH?

最佳答案

We are experiencing the same behaviour. The OAuth integration sets the internal url of the app as reply. 

We are already using the proxy_mode = True and setting web based url / -freeze to the external host and all headers for the proxy. Nevertheless the OAuth integration seems to ignore the proxy_mode

形象
丢弃
最佳答案

greetings I am also facing the same issues with ODOO 16 while trying to authenticate.


I have already put the proxy_mode = True like you mention but the AADSTS50011 error remains.


please help.

形象
丢弃
最佳答案

Dear still the same.


形象
丢弃
相关帖文 回复 查看 活动
3
10月 23
8620
1
9月 23
3240
1
5月 23
2208
2
4月 23
2726
1
3月 23
2134