jbergler / hass-ttlock

Home Assistant integration for TTLock locks
53 stars 11 forks source link

Problem with login #88

Closed michal00111 closed 5 months ago

michal00111 commented 6 months ago

I have a problem with logging in to the integration, I enter the login and password as in the application and a message appears invalid client_id. I have created applications on an open platform.

scrampker commented 6 months ago

Same issue here -- can't seem to log in. I tried using my app email login, account nickname, and client_id from the dev portal (approved app.) No dice. Tried my password, and the secret.

mikedrews commented 6 months ago

Appears to be a problem with the TTLock portal itself. I can't even login into the portal below. https://euopen.ttlock.com/login

michal00111 commented 6 months ago

Appears to be a problem with the TTLock portal itself. I can't even login into the portal below. https://euopen.ttlock.com/login

I can log in normally.

oraichu commented 5 months ago

I can login normally as well. But can't login with integration using same username and password.

dwittrup1 commented 5 months ago

Same issue here. Any updates? I can login to both the App and API environment directly with no issues.

dwittrup1 commented 5 months ago

Found the fix. Deleted the intgration then deleted the entity. This allowed me to reload the Client ID. Now connected.

jbergler commented 5 months ago

Glad you got it fixed.

scrampker commented 5 months ago

I don't think this problem is fixed for some of us. Mine still says invalid client_id just like the OP.

image

jbergler commented 5 months ago

Ok, can you try removing and re-adding the credentials to make sure that they are correct? You can remove the credentials via the menu on the integrations page, per these docs: https://www.home-assistant.io/integrations/application_credentials/

scrampker commented 5 months ago

That seemed to do the trick. My lock was discovered from the cloud. Interesting. Maybe we can add a little note for people to try that if they have the same issue.