Currently the RSA4d only works if a user calls ably.auth.authorize(). This is because here we have a try/catch that calls ably.onAuthError(e.errorInfo) which calls this code from the ConnectionManager.
That is not happening in the other flows but it should be, so the other ones need to be fixed.
Currently the RSA4d only works if a user calls
ably.auth.authorize(). This is because here we have atry/catchthat callsably.onAuthError(e.errorInfo)which calls this code from theConnectionManager.That is not happening in the other flows but it should be, so the other ones need to be fixed.