GlitchedMythos
BABetter Auth
•Created by Matheus Sa on 3/13/2025 in #help
Use the admin and organization plugin together
Note: This is from memory as I recently looked at this for my own site
3 replies
BABetter Auth
•Created by Matheus Sa on 3/13/2025 in #help
Use the admin and organization plugin together
it's effectively two different types of access.
TLDR: Admin concerns the site as a whole and supercedes any Organization roles. Organization roles only concern itself with members of that particular organization.
Admin is across the site entirely and is
admin
/ user
by default. Can someone do x / y / z thing that is not Organization / Team specific such as impersonating users, taking administrative actions such as moving users to different organizations without invites, handling payment processing stuff etc. Generally site wide concerns.
Organization role is different. It defines what an individual can do within that organization. owner
, admin
, member
are the defaults IIRC. Anything related to "can a user do this" are defined by those roles and the permissions associated with it. Effectively it's only that organization though. They can't do anything to an organization that they are not a part of.3 replies
BABetter Auth
•Created by Ravi on 2/21/2025 in #help
signInEmail isn't properly setting cookies in production? (NextJS 15/Vercel)
IIRC, Google rejects cross domain cookies for domain suffix's that are "too public" such as
.vercel.app
I wonder if that's the problem some of y'all are having7 replies