$c0rp-EE-yen
TTCTheo's Typesafe Cult
•Created by clearlyunwell on 2/10/2024 in #questions
T3 and User Management (admin user must be able to CRUD users) - suggestions?
If you want to deploy something yourself and not be locked-in on a cloud vendor, keycloak is an excellent choice: https://www.keycloak.org/
10 replies
TTCTheo's Typesafe Cult
•Created by clearlyunwell on 2/10/2024 in #questions
T3 and User Management (admin user must be able to CRUD users) - suggestions?
They have a good console to manage all that kind of stuff, you can generate passwords for your users, etc. Pro tip: Do yourself a favor and learn about Management Groups, Tenants and organizing your users with security groups (these are azure terms, but AWS has the exact same concepts).
10 replies
TTCTheo's Typesafe Cult
•Created by clearlyunwell on 2/10/2024 in #questions
T3 and User Management (admin user must be able to CRUD users) - suggestions?
oh, I see what you mean. You're looking for the actual service behind that, it's not what something like next-aut1h would do directly, it'd let you connect to a service, like an IAM service in Azure or AWS (or Auth0). Since you're saying clerk is too expensive, it's probably worth your while to look into Entra (used to be called Azure Active Directory, some docs haven't been updated, fyi) or Cognito for AWS and you can use those as a baseline to evaluate how you're managing your user's identities.
10 replies
TTCTheo's Typesafe Cult
•Created by clearlyunwell on 2/10/2024 in #questions
T3 and User Management (admin user must be able to CRUD users) - suggestions?
why wouldn't next-auth work for this use case? This seems pretty straightforward. I'm about to use next-auth in a project I'm bringing to production and the complaints about it are largely around the docs and if you are using a database to manage sessions. I'm using JWT's and don't need a db adapter and everything looks pretty straightforward (disclaimer: I'm working on auth this week, lol)
10 replies
TTCTheo's Typesafe Cult
•Created by $c0rp-EE-yen on 1/14/2024 in #questions
why does the create-post.tsx component need the 'use client' directive in the default project?
I didn't find exactly what I was looking for, but I did at least get an answer to this questions. The issue is with React Query as it only runs client-side
5 replies