4 ms·
you don't create a database user for every web user (unless maybe if you have like only 5-10 webusers in total). you use the user_id from the jwt tokens in you
by ruslan_talpa 9y ago
you don't create a database user for every web user (unless maybe if you have like only 5-10 webusers in total).
you use the user_id from the jwt tokens in your RLS policies and view definitions.
More details here https://github.com/subzerocloud/postgrest-starter-kit/wiki/Athentication-Authorization-Flow https://github.com/subzerocloud/postgrest-starter-kit/wiki/A...
- wingi 9y agoThank you - that is the missing point!