Ok I have no idea what the hell is going on, but it’s working now. I needed to reboot several times and for whatever reason, for MY instance, the port is required in the neato application
I posted over in /r/homeassistant also, but may get more traction here since this is so new:
I followed the process to create the new auth method (oath2). However, when I try to reconfigure the integration, I get an error when it links to neato’s developer site: Client authentication failed due to an unknown client, no client authentication included, or unsupported authentication method.
I found in the url that it’s trying to access, it’s including my url and port, but this is not defined in the neato developer network.
I have the redirect URI configured as https://example.duckdns.org/auth/external/callback, but in the url, it’s returning https://example.duckdns.org:8123/auth/external/callback.
If I just navigate directly to https://example.duckdns.org/auth/external/callback, the page doesn’t load (chrome says refuses to connect). If I navigate to https://example.duckdns.org:8123/auth/external/callback, the page says: Missing code or state parameter in https://example.duckdns.org:8123/auth/external/callback
Also, in my config file, my external url is:
What have I done wrong? I added the port in neato’s redirect URI and removed the port in the address bar to test, but no change.
EDIT: After a reboot, I get “The redirect URI is not valid” on the neato dev page. I found the 8123 is in the url, so I removed it and it’s progressed to the next page to “Authorize my neato account.” However, when I do, the page no longer resolves and chrome says, “refused to connect.”
Then I added the :8123 in the neato dev account and retested and now it resolves when I “Reconfigure” neato, but then when I click Authorize, it fails and says 500 Internal Server Error.