SSO_SYNC 无法正常工作

As per

You have to use the following:

$api_username = 'system';