3 ms·
Does PostgREST have functionality for authentication and authorization? I guess you could front it with a reverse proxy if not, but would be nice to have auth
by GordonS 6y ago
Does PostgREST have functionality for authentication and authorization?
I guess you could front it with a reverse proxy if not, but would be nice to have auth built in.
- michelpp 6y agoIt uses JWT, you can use third party or serve them yourself.
- IggleSniggle 6y agoI haven’t used postgREST, but the user/group authorization model looks fantastic at a glance.
- FlyingSnake 6y agoYes, it has first class support for 3rd party auth using signed JWTs. I use it with Auth0 to provide social logins. [1]: http://postgrest.org/en/v7.0.0/auth.html#client-auth http://postgrest.org/en/v7.0.0/auth.html#client-auth [2]: http://postgrest.org/en/v7.0.0/ecosystem.html http://postgrest.org/en/v7.0.0/ecosystem.html
- SahAssar 6y agoI use caddy-auth-portal and caddy-jwt to generate JWTs for AuthN (based on SSO) and then use postgres built in row level security for AuthZ.