In this codesandbox env I'm getting a wrong signature error when authentication happens. Diving a bit deeper makes it clear that the signToBase64 returns the wrong thing, only in codesandbox with v0.33:
const test = signToBase64(
'test',
'A/HPrEDqn+1KLZiOLwFOzknX3DAX8bbOmVt/+WCkrzM=',
);
test.then(console.log);
In this codesandbox env I'm getting a
wrong signature
error when authentication happens. Diving a bit deeper makes it clear that thesignToBase64
returns the wrong thing, only in codesandbox with v0.33:Locally:
mWh7xwoBFAdj2vKdG4ACq0jGvxUtF8APjWEgHCEDXR1aCc2NBVLEgd9NR2N5hXqdDRZuYrwFKoFE4ZVZT5KJBQ==
Codesandbox (v0.32.2):mWh7xwoBFAdj2vKdG4ACq0jGvxUtF8APjWEgHCEDXR1aCc2NBVLEgd9NR2N5hXqdDRZuYrwFKoFE4ZVZT5KJBQ==
Codesandbox (v0.33.0):CKNpTllw1LZ33Fwm/Dkbx6lpvuQ+8hk3DrtA0BxntHV0AjNdkZvXdxCfhlAsiZ24Ofudcxx4bRylB+sHv3cQDA==
What's going on here?