TikTok Authorization URL Test
Current Configuration
Client Key:
sbaw4h3rzb2rfsqeug
Scope:
user.info.basic,video.upload,video.publish
Redirect URI:
https://reviewer.kingcontent.pro/callback.php
State:
f556ee96e1662a12d3f0a6d427626679
Auth URL:
https://www.tiktok.com/auth/authorize/
Standard OAuth 2.0
https://www.tiktok.com/auth/authorize/?client_key=sbaw4h3rzb2rfsqeug&scope=user.info.basic%2Cvideo.upload%2Cvideo.publish&response_type=code&redirect_uri=https%3A%2F%2Freviewer.kingcontent.pro%2Fcallback.php&state=f556ee96e1662a12d3f0a6d427626679
With grant_type
https://www.tiktok.com/auth/authorize/?client_key=sbaw4h3rzb2rfsqeug&scope=user.info.basic%2Cvideo.upload%2Cvideo.publish&response_type=code&redirect_uri=https%3A%2F%2Freviewer.kingcontent.pro%2Fcallback.php&state=f556ee96e1662a12d3f0a6d427626679&grant_type=authorization_code
Minimal params
https://www.tiktok.com/auth/authorize/?client_key=sbaw4h3rzb2rfsqeug&scope=user.info.basic%2Cvideo.upload%2Cvideo.publish&response_type=code&redirect_uri=https%3A%2F%2Freviewer.kingcontent.pro%2Fcallback.php
Parameters Comparison
| Parameter | Standard OAuth | With grant_type | Minimal |
|---|---|---|---|
| client_key | ✓ | ✓ | ✓ |
| scope | ✓ | ✓ | ✓ |
| response_type | ✓ | ✓ | ✓ |
| redirect_uri | ✓ | ✓ | ✓ |
| state | ✓ | ✓ | ✗ |
| grant_type | ✗ | ✓ | ✗ |
Test Instructions
- Click "Test in New Tab" for each URL above
- Check which one works without "Something went wrong" error
- If one works, note which parameters it uses
- Update the main config.php with the working parameters