SSO gives AADSTS50011 error: The redirect uri specified does not match the URIs configured. http/https

Status
Not open for further replies.

vankampen

SOHO User
Joined
Aug 29, 2023
Messages
22
Reaction score
2
Microsoft 365 is configured, and I have reconfigured it just to make sure. The Microsoft button is available, but I am getting this error. The redirect uri is not with https, but with http, so it does not match the configured redirect URI (the same as shown, but with https). Is there a configuration that I am missing?Screenshot 23-12-2023 14.11.59.png
 

Attachments

  • Screenshot 23-12-2023 13.09.17.png
    Screenshot 23-12-2023 13.09.17.png
    28.4 KB · Views: 7
Last edited:
Try accessing the management console to configure the integration using the https://yourhostname.3cx.nl:5001, as the auth needs to be entered using https and not http.
 
Thx, I am using pfsense with haproxy, and configured it to also enable https://yourhostname.my3xcl.nl:5001. There is no change.
The 365 integration is working, I am getting users from 365. Only the SSO is not working.

It has probably something to do with the Haproxy configuration, so if there is no obvious solution, please do not spent to much time on this. For the rest the whole system is working flawlessly.
 
Last edited:
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Forum statistics

Threads
111,954
Messages
589,921
Members
164,851
Latest member
DrunkeMeister