Why are my authorized users being removed automatically?

Why are my authorized users being removed automatically?

When a user logins with their TikTok accounts we store the login session on our database. If that session is no longer valid, the account will be removed from our database and a re-authorization is required.

This can happen for different reasons:

  • Session cookies default expiration time, usually a login session lasts for about 3 months.
  • The user has changed the password.
  • The account has been deactivated.
  • Automatic removal of the user due to inactivity (i.e. no API calls for one month).
In order to avoid session expiration of accounts due to inactivity, make sure you make API requests at them frequently.

    • Related Articles

    • What are OAuth users?

      A OAuth user is a logged in TikTok account that has given you authorization to perform actions on their account or view private information. You can ask users to "Login with TikTok", just like Google or Facebook. We've made this possible by ...
    • How do I authorize users?

      TikAPI is using a custom implementation of the OAuth 2.0 protocol. By using our OAuth system you can get access to a user's TikTok account easily by just asking them for authorization. Let's get started Firstly, make sure that you've set your ...
    • How do I remove a User?

      You can't remove User authorizations due to security reasons, though they will be removed automatically after 1 month of inactivity. The account owner is always in control over his TikTok account data. Only the account owner can approve or revoke ...