OAuth Login and Profile Bootstrap
A 2-step recipe with TikTok for Developers. We can help you get access.
Recipe · 2 steps
OAuth Login and Profile Bootstrap
Exchange an authorization code for tokens and read the user's profile.
- Exchange the authorization code for an access token and refresh token via the OAuth token endpoint.
- Read the authenticated user's profile using the freshly issued access token.
What you'll need to have ready
- clientKey: Your app's client key.
- clientSecret: Your app's client secret.
- code: Authorization code from the OAuth redirect.
- redirectUri: Redirect URI registered for your app.
- userFields: Comma-separated user fields to return.
For your developer
Arazzo workflow tiktok-for-developers:oauth-login-and-profile, 2 operations: exchangeToken → getUserInfo. Specs on APIs.io.