chat template: `Missing required params: [token]. Skipping sync connection.`
threepointone opened this issue · 3 comments
Hi folks! I'm trying to setup the chat example locally on my machine. I followed all the steps in the README, including making a github app and filling in the details in .env. On running the app, I get this warning in my console:
And in the triplit terminal, I see this:
Because of which (I think) I'm not seeing any syncing across browsers. Do you folks have any pointers for how I can get this working? Thank you!
Hi @threepointone , thanks for the heads up! Looks like this may have been addressed here but hasnt been released. We'll try to get that released ASAP.
For now in your .env can you try updating TRIPLIT_JWT_SECRET
to the value you have in NEXTAUTH_SECRET
and restarting your local server? If that doesn't resolve the issue let me know.
We just ran a release, so you can also update the Triplit packages used in the app to their latest versions. Going to close for now, but if this issue persists let me know and we can reopen it.
Looks like that fixed it, thank you so much!