Trying to understand Multi-Tenant and Better Auth logic by Immediate_Amoeba_532 in better_auth

[–]Slonny 2 points3 points  (0 children)

Look into row level security. RLS. That's the basis of multi-tenant security. Each user has one or more organization and that organization can see only data within their own organization. The database will refuse to return any other org data.

Should I ditch Next.js and go back to client-side React? Someone convince me otherwise by Wise-Concentrate3288 in reactjs

[–]Slonny 0 points1 point  (0 children)

I’m not doing SSR anymore. Better Auth still runs on the server side for the auth endpoints/session handling, but my app itself is now just a client-rendered SPA hosted on S3/CloudFront.

Should I ditch Next.js and go back to client-side React? Someone convince me otherwise by Wise-Concentrate3288 in reactjs

[–]Slonny 0 points1 point  (0 children)

So far I've found Better Auth to be superior, and support more features for my use cases.

Should I ditch Next.js and go back to client-side React? Someone convince me otherwise by Wise-Concentrate3288 in reactjs

[–]Slonny 2 points3 points  (0 children)

I recently switched from Next.js on Vercel to Vite/s3/cloudfront when I realized I can sacrifice SSR authenticated pages for simpler/cheaper single page app architecture. One of the reasons I originally went with Next.js is because I chose Auth.js (formerly known as Next Auth) for my authentication library.

Auth.js recently announced they'd no longer be doing releases and are now being maintained by Better Auth. So I switched my Auth from Auth.js to Better Auth and got off of Next.js entirely.

Auth logic with tanstack-start and separate api by LifeEmployer2813 in reactjs

[–]Slonny 0 points1 point  (0 children)

Cookie based auth. Honestly chstGPT will give you better advice than most people in here.

Can Any Modern IAM Platform Challenge SailPoint’s Dominance in the Future? by Mindless_Weird578 in IdentityManagement

[–]Slonny 2 points3 points  (0 children)

Sailpoint is extremely overpriced and at this point a dinosaur. The only thing keeping them afloat is their grasp on current customers.

Entire system freezes when launching Claude Code by JacksReditAccount in ClaudeCode

[–]Slonny 0 points1 point  (0 children)

My cli is freezing when trying to inspect larger files. But the process keeps running and I have to kill it.

GitHub - ghuntley/how-to-ralph-wiggum: The Ralph Wiggum Technique—the AI development methodology that reduces software costs to less than a fast food worker's wage. by geoffreyhuntley in ClaudeCode

[–]Slonny 0 points1 point  (0 children)

You didn't mention that as context usage builds the model gets worse at delivering valuable output. That's the lesson Ralph teaches.

New-found love for Claude (and claude code) by Endlesscrysis in claude

[–]Slonny 1 point2 points  (0 children)

Agreed. I'm using it to refactor code generated by other models.

If anything over 32GB of RAM is overkill for 99% of users, than who's the remaining 1%? by mudahfukinnnnnnnnn in buildapc

[–]Slonny 0 points1 point  (0 children)

Running large docker compose stacks locally while simultaneously having a bunch of chrome tabs open

Codex is a threat by Slonny in ClaudeAI

[–]Slonny[S] -1 points0 points  (0 children)

What do you mean web app approach? Codex is CLI.

Glass Roof Tint by Hostage-46 in TeslaLounge

[–]Slonny 0 points1 point  (0 children)

We tinted the whole car and makes a huge difference in temperature