Hey guys,
I've recently discovered my Android app wasn't working. Not sure if the iOS version had the same problem, but most likely it did.
Here's what would happen. If I tried to login with VBSSO active with *correct* credentials (if you provide invalid, the error is 'invalid username/password') it would say
Error code error logging you in...
So what I did was I went into the plugin manager and found the VBSSO plugins that hook into login_redirect and logout_redirect and encapsulated the code
Code:
if (!VB_API) {
//original code here
}
i.e.
vBSSO Login Redirect
Original:
Code:
require_once(DIR . '/vbsso/vbsso.php');
vbsso_login_redirect_hook();
Modified:
Code:
if (!VB_API) {
require_once(DIR . '/vbsso/vbsso.php');
vbsso_login_redirect_hook();
}
I did that to logout_redirect (since if you didn't, you'd have an error logging out too) and just in case, the login bit too. It works and I don't see any issues! Hope this helps.