Infer Additional fields
Hello everyone, how can I infer additional fields in the authclient in Expo, I'm using a monorepo where the nextjs app has the auth server, I try to import inferAdditionalfields i get
12 Replies
Interesting, I'm not sure if I can be of much help, but I will go check the codebase on this.
Are you certain it's coming from the
inferAdditionalFields
client plugin?Thank you for the help!
Yep if I add the plugin to the plugins array, i get the error removing it solves it. I'll dig around aswell
It seems the error comes from the
jose
lib.
But I can't find it anywhere from inferAdditionalFields
.
By the way, is this error occurring IN runtime? Or does it show you that before hand?what version of better auth are you using no expo?
1.1.19
can you share the whole code snippet, where you're initating the authClient?
Also get this in the console
auth.ts on my nextjs folder
can you update to
1.1.20-beta.2
updated no errors from the terminal, but the app loads fine and after a second i get this on devtools

alright i'm gonna take a deeper look. for now if you downgrade to 1.1.18 it should work fine.
Thank you for the help I'll try 1.1.18 in the meantime
Beautiful 1.1.18 works