Dose Login have to be called right after SDKAuth success?

When I called login right after SDKAuth success. It worked well. But when I called login later on, for example, before I join a meeting. It returned WRONG_USAGE. So what’s the right process to login? 

Hi Xu,

you need to wait for the callback:

IAuthServiceEvent virtual void onAuthenticationReturn(AuthResult ret) = 0;

you can also check your login status using the following callback:

virtual void onLoginRet(LOGINSTATUS ret, IAccountInfo* pAccountInfo) = 0;

Best

Wei