any good examples of cookie based authentication with tanstack start + tRPC?
It seems like all the examples I'm finding use a third party auth provider, and I'd love a solid example of using a more complex tRPC implementation other than just a few public procedures. The part I'm having the most difficulty with is the authentication process and maintaining the proper auth state between the server and the client. Would love some examples to help me pinpoint what I might be doing wrong!
2 Replies
conscious-sapphireOP•4mo ago
figured out my issue - needed to recreate the query client for each ssr request 👍
passive-yellow•4mo ago
This is one example https://github.com/makyinmars/tan-stack-start-full-stack
GitHub
GitHub - makyinmars/tan-stack-start-full-stack
Contribute to makyinmars/tan-stack-start-full-stack development by creating an account on GitHub.