- edited description
[BUG] Error: Invalid client id or redirect url
Expected Behavior
When introducing HA credentials, it should redirect to the access token url
Actual Behavior
It doesn't redirect to the access token url
Steps to Reproduce the Problem
- Enter HA url
- Tap on Connect
- Enter HA credentials
Specifications
- App Version: 1.0.0-alpha.1
- iOS version: 12.0
- Device: iPhone/iPad
Comments (5)
-
reporter -
I am having the same issue, any solution? Thanks
-
reporter I was able to reproduce the issue in a different instance of Home Assistant (running locally in my mac). Enabling the debug log in the configuration, I was able to see that it was throwing this error:
2019-02-20 17:38:41 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed on verifying the certificate Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 625, in _on_handshake_complete raise handshake_exc File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata self._sslobj.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045) 2019-02-20 17:38:41 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error in data received Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 526, in data_received ssldata, appdata = self._sslpipe.feed_ssldata(data) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata self._sslobj.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 763, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
Could you do the same? (https://www.home-assistant.io/components/logger/)
Also check that you have uncommented this in your Configuration.
# Uncomment this if you are using SSL/TLS, running in Docker container, etc. # http: # base_url: example.duckdns.org:8123
-
reporter Could you try again? There was an issue with the certificates.
You have a full detailed explanation of why this is needed
https://developers.home-assistant.io/docs/en/auth_api.html -
reporter - changed status to resolved
- Log in to comment