postgrest icon indicating copy to clipboard operation
postgrest copied to clipboard

Adding more authentication options

Open saolof opened this issue 2 years ago • 1 comments

The current Auth implementation only includes jwt, but seems to be open for future extension with Oauth or LDAP integration.

https://github.com/PostgREST/postgrest/blob/main/src/PostgREST/Auth.hs

How high priority is this? None of the infrastructure we have is set up for generating JWTs with a role parameter out of the box, and Auth is currently our main blocker since postgREST otherwise seems perfect for our usecase. We're currently looking at having the postgres database issue JWT's but this is difficult to integrate into the surrounding security infrastucture.

saolof avatar Jan 26 '23 21:01 saolof

How high priority is this?

Not a priority for us since most users have been satisfied with JWT.

That being said, we'd be open for discussion/PR review for other auth methods.

Related https://github.com/PostgREST/postgrest/issues/1727

steve-chavez avatar Feb 01 '23 16:02 steve-chavez