Hacker News new | ask | show | jobs
by marktangotango 909 days ago
How is authentication/authorization handled with this stack? Or sign up with email validation and password reset?
2 comments

It's a little bit involved but doable.

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

So where is the secret key stored for signing the JWT? In the front end as well?

Edit: Oh I found it here: https://postgrest.org/en/stable/how-tos/sql-user-management....

That’s a pretty neat design. Also an interesting attack surface

RDBMS auth and roles are a thing. They even support mTLS.