Issue in create-t3-turbo better-auth implementation
Hi I used the create t3 turbo fork from:
and everything seems to be working fine except for the fact that after signing in I kept getting errors from my trpc functions from expo, saying the request are unauthorized. Upon reading the docs a little bit I added the following to me code:
this solved the issue.
The issue here 2 fold:
1. I am just a little confused because the template gets the token from the getToken function, but the server seems unable to decrypt and use the token properly when I get it from there
2. the function to get cookies gives me the following type error:
and the expo client config gives me the following error:
rest of the error and code in reply
3 Replies
error:
code:
I fixed it. Had multiple versions of better fetch installed @Ani