Implementing multi tenancy (multiple organizations per user account) is actually not very hard. Next video we'll go over role based access control and how that all fits in (it aint hard either)
00:00 intro / what is multi tenancy
00:30 different approaches pros and cons
02:20 codebase layout
03:10 setting up codebase
03:33 codebase overview
05:27 live demo
06:47 coding
12:22 outro + tips
repository:
https://github.com/iansbrash/youtube/tree/main/next-auth-multi-tenancy
please subscribe