ConfirmExternalTrackingOAuthConnection
ConfirmExternalTrackingOAuthConnection proves that the authenticated browser which started the flow also received the provider callback.
/api.v1.tracking.ExternalTrackingService/ConfirmExternalTrackingOAuthConnection Bearer requiredRequest
ConfirmExternalTrackingOAuthConnectionRequest
ConfirmExternalTrackingOAuthConnectionRequestapi.v1.tracking.ConfirmExternalTrackingOAuthConnectionRequest2 fields
Confirm External Tracking OAuth Connection Request message.
attemptIdstringAttempt Id value.
confirmationTokenstringOne-time high-entropy proof delivered only to the provider callback window. The backend stores only its SHA-256 digest.
{
"attemptId": "string",
"confirmationToken": "your-token"
}Response
ConfirmExternalTrackingOAuthConnectionResponse
ConfirmExternalTrackingOAuthConnectionResponseapi.v1.tracking.ConfirmExternalTrackingOAuthConnectionResponse1 fields
Confirm External Tracking OAuth Connection Response message.
{
"attempt": {
"attemptId": "string value",
"provider": "string value",
"status": "active",
"message": "success",
"remoteUsername": "fireanime_user",
"expiresAt": "string value",
"completedAt": "string value",
"errorMessage": "success"
}
}Referenced models
1 nested message types
ExternalTrackingOAuthAttemptapi.v1.tracking.ExternalTrackingOAuthAttempt8 fields
ExternalTrackingOAuthAttempt describes a user connection flow without exposing the authorization code, PKCE verifier, or provider tokens.
attemptIdstringOpaque identifier returned by BeginExternalTrackingOAuthConnection.
providerstringStable provider key: "anilist" or "mal".
statusstringState such as "awaiting_authorization", "queued", "processing", "awaiting_confirmation", "succeeded", "failed", or "expired".
messagestringSafe status detail suitable for display to the current user.
remoteUsernamestringProvider username discovered after a successful connection.
expiresAtstringRFC3339 expiry timestamp for this short-lived attempt.
completedAtoptionalstringRFC3339 completion timestamp when the attempt reached a terminal state.
errorMessagestringSanitized failure detail. Authorization codes, tokens, and raw provider response bodies must never be returned here.
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.