I’ve tried removing the depreciated base_url, specifying internal/external url via web interface and config to no effect. Am I missing something obvious? Is there something I need to enable to use /auth/external/callback ?
Hi @johnfegan there must be an issue with your configuration although I can’t tell you what it is. Is your Home Assistant instance accessible from the internet (aka without VPN)? If so, you must use the URL that you would use to access the instance from the internet.
Also, did you add the protocol? HTTP/HTTPS? That is required in the URL defined in the Zoom app
Hey Raman, thanks for coming back, yeah it’s accessible externally via duckdns, I’ve got a google integration set up etc. can use the pwa outwith the network etc. HA only resolves over ssl.
Excluding my various integrations sensors/switches/lights etc. (mainly mqtt/zigbee/tasmota all working/validating) config is as below:
Is your External URL set to the URL you use to access Home Assistant? (I’m assuming that’s either “https://xxx.duckdns.org:8123” or “https://xxx.duckdns.org” depending on whether or not you use a reverse proxy to hide the port)
Yeah mate I’m forwarding external 443 - internal 8123, I’ve tried every combination I can think of as detailed above.
I don’t think the issue is on zooms end, as I’m unable to get a valid response on any combination of /auth/external/callback regardless of if I’m using internal or external address, specifying port or not. This would seem to indicate an issue with the HA set up to me but as I say beyond my configurations and a few add ons, which excluding duckdns I’ve disabled one by one to no change I’m pretty vanilla…
Sorry if it sounds like I am being pedantic, I am just trying to check all the boxes. And you are in fact including https:// in the Zoom app configuration?
One other thing you can try is to add the following to your config:
I am including https: but as a I say HA 404s when I try to access myself on internal/local so it’s very unlikely the issue has anything to do with what I’m populating in zoom.
I’ve tried specifying auth providers as suggested above, still no change.
No i’ve rolled out a vanilla install and still had the same issue, in the end I lost interest. A shame as it’d be really helpful but above my skillset to debug
I found this thread having the same issue. I resolved it by insuring the host in the redirect URL http://<your_home_assistant_url_or_local_ip>:/auth/external/callback is the same as the page from which you’re starting the integration. You can have multiple configured in the Spotify application, so you could add both host and IP. I have an internal and external hostname and just happened to have set the wrong ones!
I’ve since resolved my issue, doesn’t seem to be anything to do with the redirect URL but rather with the HACS install of zoom. I’m still unsure why, though fallowing the latest update I removed zoom, and then reinstalled via HACS, added credentials via yaml and rebooted. I still get an error when trying to access the callback URL, though this time it warns:
Missing code or state parameter in https://xxx.duckdns.org/auth/external/callback?code=code-here
Despite this the binary sensor now works, and is updating my zoom status allowing me to use for automations.
Ok, got this solved, this is a classic catch 22, I didn’t have the url since I had no integration using it, and I could not setup the integration because the url did not exist.
For me it was the neato integration that has moved to oauth2.
So, to resolve this, I have added the integration with fake secret and id (just used 1 for both), restarted and the url was no longer 404. Then I created the dev account for neato. and than corrected the id and password. Now things are working.