Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

URL specified in the request does not match the reply #95

Open
dave-parsons opened this issue Oct 9, 2020 · 4 comments
Open

URL specified in the request does not match the reply #95

dave-parsons opened this issue Oct 9, 2020 · 4 comments

Comments

@dave-parsons
Copy link

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

@magaxel
Copy link

magaxel commented Nov 7, 2020

@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.

@thebino
Copy link

thebino commented Nov 15, 2020

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

@crusell
Copy link

crusell commented Nov 21, 2020

@thebino: Thanks! your "fix" worked for me.

@copperek
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants