Loading apps…
Send users here to begin authorization:
GET https://server.ctksystem.com/accountsystem/oauth/authorize ?client_id=YOUR_CLIENT_ID &redirect_uri=YOUR_REDIRECT_URI &state=RANDOM_STATE
Exchange the returned code for tokens:
POST https://server.ctksystem.com/accountsystem/oauth/token
Content-Type: application/json
{
"grant_type": "authorization_code",
"code": "<code from redirect>",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"redirect_uri": "YOUR_REDIRECT_URI"
}
Fetch the user's profile with the access token:
GET https://server.ctksystem.com/accountsystem/oauth/userinfo Authorization: Bearer <access_token>