hey everyone im looking for guidance on a project built with next.js 15 using the app router and typescript supabase for the database and authentication airtable as a crm tailwindcss for styling and docker deployed on a hostinger vps with traefik as the reverse proxy. i need to add role based access control and while i've done this before on other stacks im looking for best practices specifically for using supabase auth with the next.js 15 app router. any advice from people who have worked with a similar setup would be appreciated.
#RBAC with Supabase Auth in Next.js 15
1 messages · Page 1 of 1 (latest)
-# TypeScript @unborn solstice @heady sable @ivory fiber
-# Node.js/Bun JavaScript @unborn solstice @heady sable @ivory fiber
Sounds very insecure
insecure? why?
idk just use next 16
Haven't worked on same stack but have Idea of rbac for ui and api routes
Setup proper middleware.ts. It is now proxy.ts, it handle all the cases auth based and public as well.
Aaah, thanks for letting me know.
Yup I was thinking of the same approach.
like saving the user object which contains a role field in the token and then using middleware based on it
Better auth work well
which stack do you work with the most
Ahan got it
Shifting on Base Ui
any specific reason?
Will try in next project
Case Shadcn not maintained regularly
As one of youtuber said
and before shifting do a proper research
Sorry coss ui not base ui
what a youtuber admitted cant be one hundred percent perfect
i didn't get it
It is not on radix as Shadcn is
Wow
but still behind shadcn there is vercel so you cant say that it isnt being maintained
that looks good
https://youtu.be/CWMzGPyhKnM watch from 3:00
Sirinously youtube video for the backend ref : https://youtu.be/E4CSP_KixPM?si=UjTLXvp-IVYRXK4F
Below are all of my social media accounts:
Twitter/X: https://www.x.com/ramxcodes
LinkedIn: https://www.linkedin.com/in/ramxcode
GitHub: https://www.github.com/ramxcodes
YouTube: https://www.youtube.com/@ramxcodes
Instagram: https://www.instagram.c...
Btw are you working on ai agents
Okie
?
i watched the video and he mentioned that radix is not actively maintained i think a mature library like radix doesnt need daily updates after some research its clear that maintenance has slowed down but that doesnt mean its dead radix is still widely used in production which says a lot about its stability my take is to stick with radix where it already works while also learning and experimenting with newer more actively developed libraries the future may move toward those tools but radix is still an industry standard today so it makes sense to understand and use both