Skip to content

Why can't TTLock app users log in via Open Platform API, and how to migrate them to my custom app with access to their existing locks? #49

Description

@ashokadk457

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions