AppAuthJS changed it's code to return an OAuth field as a string rather than a number, breaking our validation. This meant we'd immediately throw away the just-acquired login tokens every time you logged in. Corrected the types to fix this.
Coverage increased (+0.01%) to 94.317% when pulling a777f6aeb90e3192386af1b3fb0bf2a048c3717d on lmcloughlin/fix-login into c437561306cc281d7cc52de09fa682b53a3fc246 on master.
Coverage increased (+0.01%) to 94.317% when pulling a777f6aeb90e3192386af1b3fb0bf2a048c3717d on lmcloughlin/fix-login into c437561306cc281d7cc52de09fa682b53a3fc246 on master.
AppAuthJS changed it's code to return an OAuth field as a string rather than a number, breaking our validation. This meant we'd immediately throw away the just-acquired login tokens every time you logged in. Corrected the types to fix this.
Also fixed https://github.com/Fitbit/developer-bridge/issues/148 since it's a minor fix that has a similar effect.
Signed-off-by: Liam McLoughlin lmcloughlin@fitbit.com