callLoginMethod calling login method multiple times

I’m seeing login method being called multiple times on my deployed production environment when calling callLoginMethod.
everything seems to be fine on my local.
Does anyone have any idea why this might happen?
I need to deal with a single use token for sso. this is causing some issue.

edit: I’m on meteor 1.11.1

I’ve resolved the issue on my own.
Just in case someone stumbled onto the same issue.
Make sure you do a Meteor.logout() before calling the Accounts.callLoginMethod

1 Like