Thanks for the tag @dthyresson
Can you elaborate a bit more on this one? Do you want to add content into the JWT, so that you can access it on the client? If that is the case then you can add it either to auth.users.raw_app_metadata
or auth.users.raw_user_metadata
- these will both be encoded into the JWT when the user session is created
Perhaps we work together to come up with a “definitive” example for this one? Now that we are past Launch Week I have some time to build up our examples. There are a few different ways to handle RBAC inside your app, and so it will be good to put our brains together to figure out which is the most viable option for most developers (here is a good article on RBAC with Policies: Designing the most performant Row Level Security schema in Postgres | by Caleb Brewer | Medium)