All of the tutorials and Stack Overflow answers I've been seeing have addressed production environments, but haven't addressed any redirects and callbacks for a local environment. I'd love some help on how to do this locally!
Attaching pics of my current TikTok Developer application configuration and the error page I get from TikTok — all with fake tld & query params
The redirect_uri
query param I'm using on localhost
:
waitlist.localhost:3000/auth/tiktok/callback
At the moment tiktok do not support localhost as callback url or I just don't know how to =) You can put record on
/etc/hosts
like127.0.0.1 waitlist.ex.com
And then setup your ruby server with ssl or just spin up nginx with ssl and proxy to your app.
I used second option for testing tiktok oauth locally
Hope this help you