Description
Automatic login does not work on consecutive application sessions and Zoom SDK initialization after using ZoomSDKAuthService API - (ZoomSDKError)loginSSO:(NSString*)ssoToken RememberMe:(BOOL)rememberMe with valid SSO token (we can login successfully) and rememberMe flag set to YES.
Which version?
v4.6.21666.0427
To Reproduce(If applicable)
- During user SSO authentication we request OAuth access token as described here:
- Then with the access token we request a user token with this API
-
We pass the user token to
- (ZoomSDKError)loginSSO:(NSString*)ssoToken RememberMe:(BOOL)rememberMeas described above withrememberMeparameter set toYES. -
User login is successful
-
After restarting our application
- (void)onZoomSDKLogin:(ZoomSDKLoginStatus)loginStatus failReason:(NSString*)reason;delegate gets called with loginStatusZoomSDKLoginStatus_Failedand reasonnil.
Expected behaviour:
- (void)onZoomSDKLogin:(ZoomSDKLoginStatus)loginStatus failReason:(NSString*)reason delegate should be called with ZoomSDKLoginStatus_Success. Previously logged in user authenticated automatically by the SDK.
Additional context
Might be worth to mention that rememberMe set to YES works when we use - (ZoomSDKError)login:(NSString*)userName Password:(NSString*)password RememberMe:(BOOL)rememberMe. On consecutive application starts user gets logged in automatically.