3 ms·
Authorization is a pain in the ass, you have to fully buy into Postgres RLS system. On the authentication side, it helps to be familiar with OAuth and JWTs. Old
by melony 4y ago
Authorization is a pain in the ass, you have to fully buy into Postgres RLS system. On the authentication side, it helps to be familiar with OAuth and JWTs. Old school cookie based solutions (or any unorthodox 3rd party delegate auth schemes like those used in enterprise spaces) will require custom code to integrate (or to call an external authentication function).
If you are comfortable with JWTs and SPA ("jamstack") authentication then it is a breeze. I have had good experience with Supabase (PostgREST) using Prisma to manage the migrations. Hasura's out-of-the-box migration support is weaker, so you need to pay attention to make sure production and development don't drift apart.
- endisneigh 4y ago> Hasura's out-of-the-box migration support is weaker, so you need to pay attention to make sure production and development don't drift apart. I don't see how that's any different from Prisma or any other migration system for that matter.
- cpursley 4y agoHasura's migrations are one of my favorite features. I wish they would actually abstract it out as stand-alone.