tiktok / tiktok-opensdk-android

The TikTok OpenSDK features Login Kit and Share Kit which allow your users to log in using their TikTok account and share content from your app to TikTok.
https://developers.tiktok.com
Other
49 stars 17 forks source link

invalid client when integrating Login Kit Android SDK #13

Closed ovidiuvaro closed 10 months ago

ovidiuvaro commented 10 months ago

We integrated Android SDK and requested several scopes, but we are getting invalid client.

Everything was done exactly like in the demo.

Screenshot 2023-09-07 at 12 02 09
ovidiuvaro commented 10 months ago

do not mind the red warnings, the IDE is configured for FLutter/Dart

haifano commented 10 months ago

Please make sure you have added all the products, scopes if you haven't yet, you can do this by going to the TikTok for Developers website, navigating to the Manage apps page, and clicking + Add products on your app configuration page. You have to submit your change for approval and you can test it once the change's approved.

ovidiuvaro commented 10 months ago

Sorry for not updating this, actually the problem was that I wasn't running the app from the play store release system, just building a product/debug application from IDE. In order to have a valid testing you'll have to run it from Play Store with MD5 and SHA-256 applied.