News for hackers. Stuff that matters.
Re:Postgres Auditing in 150 lines of SQL by timwis on Wednesday March 09, 2022 @04:32PM (#30620282)
PostgREST has an interesting approach to authentication that might give you some ideas:

https://postgrest.org/en/stable/auth.html

Supabase is built on top of PostgREST, but I can’t say for sure it uses the same means of authentication (I think it has its own Auth layer).

Re:Postgres Auditing in 150 lines of SQL by oliverrice on Wednesday March 09, 2022 @04:38PM (#30620361)
Supabase passes all the JWT info to postgrest so it is still available in transaction local config