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
53 stars 20 forks source link

ShareKit 10004 Illegal authorization scope. #4

Open sjzwwy opened 1 year ago

sjzwwy commented 1 year ago

Why did I report 10004 when using ShareKit

sjzwwy commented 1 year ago

When I use ShareDemo, it Can work normally, but changing the package name and key to my app will report this error

haifano commented 1 year ago

When testing with your own project, be sure to add Share Kit product before you attempt to use Share Kit. You can do this by going to the TikTok Developers website, navigating to the Manage apps page, and clicking + Add products on your app configuration page.

Screenshot 2023-06-30 at 12 24 46 PM

If you need more assistance to debug, please fill out the feedback form with other detailed information.

sjzwwy commented 1 year ago

I have added all products 5951688601857_ pic

pangli commented 1 year ago

I had the same problem, have you solved it yet?

sjzwwy commented 1 year ago

not yet

pangli commented 1 year ago

Does the app have to be reviewed and approved before you can

pangli commented 1 year ago

Did your app review go through? image

bedros-p commented 1 year ago

Does the app have to be reviewed and approved before you can

was going to refer @sjzwwy to #6 and saw you (@pangli) have already switched over to this issue @sjzwwy as @pangli said, your app has to be reviewed, apparently, so just hang on until its reviewed and it should work depending on the review status

shogunassar commented 1 year ago

But it is not the best practice to upload the app to the playstore in order to have a demo working version. It should works with a demo keys normally. Please guys handle this scenario to facilitate the testing. Thanks