Loop on login
Faced on Chrome and Firefox,
I isolated one of the login loop:
- https://git.startinblox.com/framework/sib-auth/blob/master/sib-auth.js#L23
- https://git.startinblox.com/framework/sib-auth/blob/master/sib-auth.js#L61
- At this step,
rep.headers
does not always contain the right header, because the request could be not finished - Leading to https://git.startinblox.com/framework/sib-auth/blob/master/sib-auth.js#L26 even if the user is logged in
If I let the request finish its job before leaving the breakpoint, everything works fine.