You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this is non-base64 characters in the mainKey, which is a temporary intermediary solution to authenticate clients. It could be fixed by using a Zod parser to validate the mainKey string format before attempting to decode it.
It should not, since the SDK accepts a Uint8Array for the main key, so it's up to the calling code to provide a correct key. This will be abstracted by authentication strategies.
We could however check the main key length beforehand.
Looks like the app crash when given invalid mainKey/userId. maybe we should show a specific error message
devtools also dont show up in that case
The text was updated successfully, but these errors were encountered: