New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to setup Home Connect - fails with client or redirection URI not authorized #74000
Comments
home_connect documentation |
Hey there @DavidMStraub, mind taking a look at this issue as it has been labeled with an integration ( |
Can also confirm same issue. I had a working setup about 1 month ago, but did remove it to add again because of troubleshooting some other issues, and its no longer possible to setup. |
Same issue here. |
Same here, trying for days now :/ |
@allenporter Mind taking a look at this issue as you have been working on the new application_credentials platform integration (#71988)? |
Hi -- see updated pre-reqs in https://www.home-assistant.io/integrations/home_connect/#prerequisites and https://www.home-assistant.io/blog/2022/06/01/release-20226/#streamlining-the-oauth2-experience -- in particular the redirect url was changed. This is not related to application credentials, but generally i have been helping home connect users and in all cases we've seen before issues have been due to misconfiguration or needing an updated configuration. |
(I don't have a home connect device, but did sign up for the developer program and tested it all out etc so my help can only go so far) |
I had the same problem - my redirect url within Home-Connect's Application site was pointing to a local IP, so I changed it to |
@allenporter thanks for all your work on OAuth2 and for making things easier to use with HA - much appreciated! |
I've probably just missed something but after removing my old Home Connect integration (was very buggy) I tried to set it up again but are running into this exact problem. I've tried with the new my: and the new link but what ever I do I get the same error "client or redirection URI not authorized". Is there something else that has changed that I need to adress? |
The redirect url was updated and you are not meeting the pre-requisites specified here https://www.home-assistant.io/integrations/home_connect/#prerequisites -- those steps talk about setting it up, but the steps for editing the url are:
|
Thing is I've done that. Is there anything else that have changed?
…-- Reine DelwallSent with Airmail
On 3 July 2022 at 16:05:22, Allen Porter ***@***.***) wrote:
The redirect url was updated and you are not meeting the pre-requisites
specified here
https://www.home-assistant.io/integrations/home_connect/#prerequisites --
those steps talk about setting it up, but the steps for editing the url are:
- Visit https://developer.home-connect.com/applications
- See your application under `Your Applications
- Click Edit
- Change *Redirect URI* to https://my.home-assistant.io/redirect/oauth
and save
—
Reply to this email directly, view it on GitHub
<#74000 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEJFS3PBJCUSM4ZWURF35VDVSGM2FANCNFSM5Z3ICOPA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The two things that changed are:
Do you have multiple applications setup? Maybe re-setting up on the application credentials side? https://www.home-assistant.io/integrations/application_credentials/ |
That's it, I removed those and it works now. Thank you. |
Helped me too. Removed both, restarted HA, and run setup again; browser asked for popup after which it 'stuck' again saying again that redirection uri not authorized.. -> restart HA once more hoping it will then ask for singlekey ID login and it's consent and it did.. |
Double check the oauth credentials redirect UI to point at the exact url specified (my home assistant etc not your actual instance) |
The problem
I've had the Home Connect integration working for a long time - today it stoped working and when I try to reinstall I get this error which opens in a new tab:
{
"error": "unauthorized_client",
"error_description": "client or redirection URI not authorized",
"state": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmbG93X2lkIjoiOTI5MzE3OTBiMWQ1ZmJlNzEzODY5NjEzMTFjNTVkMmEiLCJyZWRpcmVjdF91cmkiOiJodHRwczovL215LmhvbWUtYXNzaXN0YW50LmlvL3JlZGlyZWN0L29hdXRoIn0.jua7oFgTTopLEGqsDWoEAg5dDpcaHam6QMtB9joNGU8"
}
I tried creating a new Application in the Home Connect Developer website but it fails with same error
What version of Home Assistant Core has the issue?
Core 2022.6.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Connect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/home_connect
Diagnostics information
None
Example YAML snippet
NA
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: