<DxD/>
Explore posts from serversTTCTheo's Typesafe Cult
•Created by DINO on 11/1/2024 in #questions
Hello how do I do authentication without Next-Auth or any other auth library?
Ask gpt a simple code
10 replies
TTCTheo's Typesafe Cult
•Created by DINO on 11/1/2024 in #questions
Hello how do I do authentication without Next-Auth or any other auth library?
Any time
10 replies
TTCTheo's Typesafe Cult
•Created by DINO on 11/1/2024 in #questions
Hello how do I do authentication without Next-Auth or any other auth library?
i did this 6 month ago on my project (next js mongodb and trpc)
10 replies
TTCTheo's Typesafe Cult
•Created by DINO on 11/1/2024 in #questions
Hello how do I do authentication without Next-Auth or any other auth library?
just use jwt, i kinda do not like nextauth or others, i prefer to use access/refresh token and that is
10 replies
TTCTheo's Typesafe Cult
•Created by DINO on 11/1/2024 in #questions
Hello how do I do authentication without Next-Auth or any other auth library?
well, in trpc u have all normal routes for auth, login register etc etc, have a context there to check all ur routes if user is auth, on next, create a middleware where u do login/register first and also there u check on each page token from cookie, do this on ssr(use server) @DINO
10 replies
TTCTheo's Typesafe Cult
•Created by <DxD/> on 10/6/2024 in #questions
Zustand question in next js
@𝓔𝓂𝒾𝓁𝓎 (Solid fangirl) can u give me a hint for my pb?
6 replies
TTCTheo's Typesafe Cult
•Created by <DxD/> on 10/6/2024 in #questions
Zustand question in next js
thx
6 replies
TTCTheo's Typesafe Cult
•Created by <DxD/> on 10/6/2024 in #questions
Zustand question in next js
done
6 replies