mongodb / stitch-js-sdk

MongoDB Stitch JavaScript SDK
Apache License 2.0
113 stars 67 forks source link

(Stitch)Error on login when custom user data is enabled #339

Closed kisinga closed 4 years ago

kisinga commented 4 years ago

I have enabled custom user data according to the documentation I have confirmed that the specified Id exists, but on login I get this error: Screenshot from 2019-12-06 21-30-20 I'm on the latest stitch sdk version. Not much info on the error itself, but I'm sure it's something to do with the custom field as renaming the id in the containing document and logging in again get's rid of the error but beats logic

kisinga commented 4 years ago

I guess this was fixed, tested again today without any changes and it worked as intended

edaniels commented 4 years ago

@KISINGA sorry I never saw this! Yes we had a bug specifically around our auth callbacks and custom user data. Sorry for the troubles as well as not finding this thread earlier.