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

feat: support auth_query with md5 #175

Merged
merged 4 commits into from
Oct 9, 2023
Merged

feat: support auth_query with md5 #175

merged 4 commits into from
Oct 9, 2023

Conversation

abc3
Copy link
Member

@abc3 abc3 commented Oct 6, 2023

This PR allows for the use of an authentication query with the MD5 mechanism. When using this method, the tenant ID should be provided via the "reference" option in the query string:

postgres://user:password@localhost:6432/postgres?options=reference%3Dtenant_id

@abc3 abc3 requested review from chasers and a team October 6, 2023 13:29
Copy link
Contributor

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. :)

@abc3 abc3 requested a review from delgado3d October 9, 2023 10:22
@abc3 abc3 merged commit 66d079f into main Oct 9, 2023
2 checks passed
@abc3 abc3 deleted the feat/auth_query_md5 branch October 9, 2023 13:31
@abc3 abc3 restored the feat/auth_query_md5 branch October 9, 2023 13:33
abc3 added a commit that referenced this pull request Oct 9, 2023
fix a version for #175
abc3 added a commit that referenced this pull request Oct 10, 2023
* chore: update GH actions dependencies (#166)

* chore: bump ecto_sql and logflare_logger_backend (#170)

* chore: bump ecto_sql and logflare_logger_backend

* feat: add an option to set the pool's strategy, default is fifo (#173)

* feat: support auth_query with md5 (#175)

* feat: support auth_query with md5
* support unicode in a username, separate auth_request for scram and md5

* chore:bump version (#176)

fix a version for #175

* fix: error message during md5 auth (#177)

---------

Co-authored-by: divit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants