I’m building a custom app using the TTLock Open Platform API. I'm developing custom IoT-enabled smart lock solutions for our client and creating a custom app in which we plan to integrate multiple lock SDKs https://www.adequateinfosoft.com/custom-iot-enabled-smart-lock-solutions-for-businesses
Many of my users have already registered through the official TTLock mobile app and added their locks there.
However, when I try to authenticate these users via the /oauth2/token endpoint on https://api.ttlock.com/, it fails with "invalid account or password".
Only users who were registered via the Open API (/v3/user/register) are able to log in successfully and access lock data.
My problem:
-
I can’t migrate existing TTLock app users into my app
-
If I register them as new users in my platform, I can't access the locks they previously added
-
TTLock locks are bound to their original TTLock user account and cannot be accessed via my Open Platform credentials
My questions:
-
Why can’t official TTLock app users log in via the Open Platform?
-
Is there a way to migrate existing TTLock app users and their locks into my Open Platform account?
-
What is the best approach to move all existing users (with their locks) from the TTLock app to my custom app?
I’m building a custom app using the TTLock Open Platform API. I'm developing custom IoT-enabled smart lock solutions for our client and creating a custom app in which we plan to integrate multiple lock SDKs https://www.adequateinfosoft.com/custom-iot-enabled-smart-lock-solutions-for-businesses
Many of my users have already registered through the official TTLock mobile app and added their locks there.
However, when I try to authenticate these users via the /oauth2/token endpoint on https://api.ttlock.com/, it fails with "invalid account or password".
Only users who were registered via the Open API (/v3/user/register) are able to log in successfully and access lock data.
My problem:
I can’t migrate existing TTLock app users into my app
If I register them as new users in my platform, I can't access the locks they previously added
TTLock locks are bound to their original TTLock user account and cannot be accessed via my Open Platform credentials
My questions:
Why can’t official TTLock app users log in via the Open Platform?
Is there a way to migrate existing TTLock app users and their locks into my Open Platform account?
What is the best approach to move all existing users (with their locks) from the TTLock app to my custom app?