cuongdevjs / reactjs-social-login

Group Hook ReactJS components for login social network
https://react-social-login.netlify.app
MIT License
168 stars 75 forks source link

TikTok Login Issue #152

Open dzbrozek opened 9 months ago

dzbrozek commented 9 months ago

I had to change oauth url and replace /auth/authorize/ with /v2/auth/authorize/ to make it work.

MeryAmun commented 7 months ago

@dzbrozek please can you explain the problem you way facing? Was it this ? We couldn't log in with TikTok. This may be due to specific app settings.

If you're a developer, correct the following and try again:

redirect_uri Refer to our Developer Documentation for more information

dzbrozek commented 7 months ago

@MeryAmun Yes, it was that error

MeryAmun commented 7 months ago

@dzbrozek please how did you get around it

dzbrozek commented 7 months ago

@MeryAmun used patch-package and fixed the library

Here is the patch (download and remove .txt) reactjs-social-login+2.6.3.patch.txt

MeryAmun commented 7 months ago

thank you very much @dzbrozek

akne1234 commented 3 months ago

Change URL to /v2/auth/authorize/ worked for me too. Otherwise tiktok returned "Something went wrong"

https://developers.tiktok.com/doc/login-kit-web/ URL https://www.tiktok.com/v2/auth/authorize/