Open dave-parsons opened 4 years ago
@dave-parsons tried the same troubleshooting steps you did and nothing worked. It turned out however, that I used the wrong client_id in my configuration.yaml.
Copy the link from the "Link O365 account" dialog. Check if the "redirect_uri=" inside the link matches your external uri. If not, replace it manually. Looks like the O365 integration doesn't use the configured external url for this request #84
@thebino: Thanks! your "fix" worked for me.
I tried to get redirect_uri to match my config in O365, but that is not working as Microsoft is not accepting http other then on localhost. I have offloaded https to an nginx instance but I can't use that as redirect_uri is pointing tot the internal IP address using http.
During the process I tried to manipulate the URL's that are being send by copy pasting them and modifying the URL. Unfortunatly that seems to be detected somewhere and the process is bailing out with a error in the log of home assistant: The reply URL specified in the request does not match the reply URLs configured for the application
I'm unsuccessful in authenticating due to URL specified in the request does not match the reply..." error.
In troubleshooting, I've: 1). Confirmed reply url in Azure to match my HA configured external URL in UI 2). Enabled nabu.casa remote url and added that to Azure 3) Added (DEPRECATED) http: base_url back to config 4) restarted HA countless times...
Can't seem to get the authentication to work. Any advice appreciated.
Dave