memgraph / gqlalchemy

GQLAlchemy is a library developed with the purpose of assisting in writing and running queries on Memgraph. GQLAlchemy supports high-level connection to Memgraph as well as modular query builder.
https://pypi.org/project/gqlalchemy/
Apache License 2.0
227 stars 32 forks source link

Add custom auth #308

Open antepusic opened 6 months ago

antepusic commented 6 months ago

Description

This PR adds custom auth capabilities so that users can connect to GQLAlchemy with SSO tokens.

Pull request type

Please delete options that are not relevant.

Checklist:

######################################

Reviewer checklist (the reviewer checks this part)

######################################

katarinasupe commented 5 months ago

@antepusic is there any test or example of how to use this feature in GQLAlchemy? If you can, please add an example to https://memgraph.github.io/gqlalchemy/how-to-guides/overview/ as a separate guide -"Connect with SSO" or similar. I am mostly interested in how MG_SCHEME should look like.

FYI, as discussed, this will be included in the next release (July 10th). Work on Memgraph is a priority, so if you can't make it, we can move the milestone due date.

antepusic commented 5 months ago

Thanks for the heads-up @katarinasupe! In the process of working on the docs, I’ll create a usage example and adapt it to GQLAlchemy tests & docs. This should happen sometime this week, does that work for you?

katarinasupe commented 4 months ago

Hi @antepusic what is the status with this? Release should happen tomorrow, and we should have enough time to review.