Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TikTok API oauth

I'm trying to implement TikTok login kit into my app. I'm following this guide https://developers.tiktok.com/doc/login-kit-web and i'm stuck on point 2.1 because after succesfully login the user, and succesfully grant app permissions from the user i'm beeing redirect to this url : https://open-api.tiktok.com/platform/oauth/undefined

I'm pretty sure my url is correct because if i insert in it some errors on purpose i get an error page .. like wrong client key, wrong response type, scope, redirect url ecc..

Anyone knows what am i doing wrong?

thanks!

like image 278
Patrick G. Avatar asked Sep 05 '25 03:09

Patrick G.


1 Answers

Ok i figured it out.

it was my fault because i created a tiktok-app for applications but by using oauth in browser you nedd to create a web based tiktok-app.

like image 178
Patrick G. Avatar answered Sep 07 '25 21:09

Patrick G.