This document is a work in progress. Any comments would be extremely helpful and appreciated!
This document will describe an authentication framework very loosely based on the OAuth2 specification for a seperate authentication server to be used with the main PostgREST resource server. As PostgREST is going in a layered direction, this authentication layer must be interchangeable with other authentication implementations.
- The first parameter (same as PostgREST) must be a PostgreSQL database connection string.
-p, --port [number]
: The port on which the server will listen for HTTP requests. Defaults to 3001.-u, --user-relation [relation]
: The relation (table or view) which PostgREST Auth will use for generating JWTs. If the relation is a view, it is recommend that it be auto-updateable. Must be user defined. The default ispostgrest.users
.-r, --refresh-relation [relation]
: The relation where PostgREST Auth will st