SolidJSS
SolidJS2y ago
72 replies
sh1man

Custom auth solidstart by prisma

Can anyone help me make my authorization on solidstart? I have orm prisma. I created a user table, what else do I need? 1) how to authorize a user, I have an endpoint trpc. 2) when entering the site, I should receive information about the user; if the error code is 401, then the user is redirected to the logIn page
Was this page helpful?