This question has been flagged
4 Replies
9392 Views

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




Avatar
Discard

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

Best Answer

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!

Avatar
Discard

Hi, can we modify proxy_mode on Odoo SH?

Best Answer

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

Avatar
Discard
Best Answer

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.

Avatar
Discard
Best Answer

Dear still the same.


Avatar
Discard