TikTok Login Kit · OAuth 2.0 redirect URI

Authorization callback received

The registered redirect URI for Psych Brief’s TikTok Login Kit is https://auth.psychbrief.online/tiktok/callback, served on the same registrable domain as this site. After a creator authorizes the user.info.basic scope, TikTok redirects there with a short-lived, one-time authorization code and the state value. This page documents that exchange; to run the live flow, use Sign in with TikTok.

The authorization code shown below is not an access token. It is exchanged for an access token over a secure server-side request to TikTok’s token endpoint that includes the app’s client secret — that exchange never happens in this browser, and access tokens and refresh tokens are never displayed on this page. The code is single-use and expires quickly.