Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Redirekt url #140

Open
Vabis1010 opened this issue Jun 8, 2022 · 22 comments
Open

Redirekt url #140

Vabis1010 opened this issue Jun 8, 2022 · 22 comments

Comments

@Vabis1010
Copy link

After reinstall home assistant 2022.6. I get problem when i try to install integration with redirekt url or client not valid. Have the same yaml as before the homeassistant reinstall. Can anybody help me out?

@vonNiklasson
Copy link

vonNiklasson commented Jun 19, 2022

It looks like the integration has changed to use the common UEL handler.

In your home connect application, change the redirect URL to https://my.home-assistant.io/redirect/oauth instead

@danys94
Copy link

danys94 commented Jun 20, 2022

I have changed as suggested redirect URL to https://my.home-assistant.io/redirect/oauth and I am gettings this:
"error_description": "request rejected by client authorization authority (developer portal)",

@Vabis1010
Copy link
Author

Vabis1010 commented Jun 20, 2022 via email

@danys94
Copy link

danys94 commented Jun 20, 2022

Where to? Under which parameter?

homeassistant:
  external_url: "http://10.0.10.35:8123"
  internal_url: "http://10.0.10.35:8123"
home_connect:
  client_id: XXX
  client_secret: XXX

this is all I have

@Vabis1010
Copy link
Author

Vabis1010 commented Jun 20, 2022 via email

@danys94
Copy link

danys94 commented Jun 20, 2022

I do not see any picture, unfortunately.

@Vabis1010
Copy link
Author

Vabis1010 commented Jun 20, 2022 via email

@danys94
Copy link

danys94 commented Jun 20, 2022

Still nothing :(

@Vabis1010
Copy link
Author

You have an emailadres i can sent it to?

@danys94
Copy link

danys94 commented Jun 20, 2022

Thank you, it worked! Here is how it should be setup:

home_connect:
  client_id: !secret home_connect_client_id
  client_secret: !secret home_connect_client_secret
http:
  base_url: http://10.0.10.35:8123

@Vabis1010
Copy link
Author

Vabis1010 commented Jun 20, 2022 via email

@kwil2011
Copy link

kwil2011 commented Jul 1, 2022

I cant seem to log in at all. I get this every time
{
"error": "unauthorized_client",
"error_description": "client or redirection URI not authorized",
"state": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmbG93X2lkIjoiYzdmZWNhZWUxMGEzNmZhY2JlNTZmZjU5MDNjYmJiMTIiLCJyZWRpcmVjdF91cmkiOiJodHRwczovL215LmhvbWUtYXNzaXN0YW50LmlvL3JlZGlyZWN0L29hdXRoIn0.WgwHJdcxi9h2zkzK5bwM2XgC-6b1t_IxbFccfe5XGEI"
}

I have tried doing this to my config file
home_connect:
client_id: !secret home_connect_client_id
client_secret: !secret home_connect_client_secret
http:
base_url: http://my internal ip:8123

tried using the duckdns address:8123 -- same error

what am I missing?

@Vabis1010
Copy link
Author

Vabis1010 commented Jul 4, 2022 via email

@kwil2011
Copy link

kwil2011 commented Jul 6, 2022

yep done that. base url is https://Local ip:8123

redirect URI is https://local IP :8123/redirect/oauth

@haigaru
Copy link

haigaru commented Jul 25, 2022

I have successfully re-added the bosch dishwasher to my home assistant. Please try if you get the same error
"error": "unauthorized_client",
"error_description": "client or redirection URI not authorized",

Step 1: visit https://my.home-assistant.io. change HOME ASSISTANT INSTANCE with "your ip lan:8123" (previously duckdns)

Step 2: Follow the instructions and fill in the Redirect URI: https://my.home-assistant.io/redirect/oauth.

@kwil2011
Copy link

Thank you for your reply.

so i did that. when I go to my.home-assistant.io.

  1. I have changed that to https:192.168..:8123

  2. then logged into the home connect applications and changed my redirect uri to https://my.home-assistant.io/redirect/oauth - should that not be the same as on point 1?

  3. then gone into the integration and updated the app credentials

Nada - still the same error

@Vabis1010
Copy link
Author

Vabis1010 commented Jul 25, 2022 via email

@kwil2011
Copy link

sorry, typo that's what it is
https://192.168.*.*:8123

@kwil2011
Copy link

all good, I just wasn't patient enough. Thanks for your help!!!

@Vabis1010
Copy link
Author

Vabis1010 commented Jul 25, 2022 via email

@haigaru
Copy link

haigaru commented Jul 26, 2022

tất cả đều tốt, chỉ là tôi không đủ kiên nhẫn. Cảm ơn bạn đã giúp đỡ!!!

have you done it successfully?

@Vabis1010
Copy link
Author

Vabis1010 commented Oct 11, 2022 via email

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