nmeng
nmeng
Explore posts from servers
TTCTheo's Typesafe Cult
Created by nmeng on 6/23/2023 in #questions
Setting up GitLab authentication, getting "Argument `user` is missing." when logging in
Hi, I've just set up a new T3 project and I've replaced the default Discord authentication provider with the GitLab one. The authentication with GitLab itself works like expected, but after being redirected back to T3 I get a generic error message in the frontend, and in the console I get Argument 'user' is missing. . In the DB (sqlite), a matching User was created, but the Account table remains empty.
2 replies
TtRPC
Created by nmeng on 6/12/2023 in #❓-help
One file per function call on the server side
I'd like to structure my server with one file per function call -- is this an antipattern? If not, does anyone have an example repo of how to structure the server code with one function/rpc call per file? Do I have to have one router per function call?
9 replies