Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement authentication flow #2

Open
returnString opened this issue Apr 2, 2021 · 0 comments
Open

Implement authentication flow #2

returnString opened this issue Apr 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@returnString
Copy link
Owner

Postgres supports various authentication flows as part of the startup phase. We should implement a minimal subset of these:

  • Cleartext
  • MD5
  • SASL

For this, we should either delegate the real auth work to the engine, or create a new trait entirely to handle auth (selecting which sub-flow to use, and verifying presented data). This process should return some kind of user principal to the engine, so it can e.g. adjust which tables are available for a given user.

@returnString returnString added the enhancement New feature or request label Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant