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

Set up authentication in Memgraph #44

Open
FrancisTembo opened this issue Nov 3, 2024 · 2 comments
Open

Set up authentication in Memgraph #44

FrancisTembo opened this issue Nov 3, 2024 · 2 comments
Assignees

Comments

@FrancisTembo
Copy link

To set up password authentication for connecting to Memgraph, create a user with a username and password. Once the credentials are set, specify the authentication details as follows when connecting to the database:

AUTH = ("memgraphUser", "memgraphPassword")

with GraphDatabase.driver(URI, auth=AUTH) as client:
@FrancisTembo FrancisTembo self-assigned this Nov 3, 2024
@willu47
Copy link
Contributor

willu47 commented Nov 26, 2024

See memgraph documentation

@FrancisTembo
Copy link
Author

I did some testing and I could get the authentication working for the research_index application however I couldn't do the same for the research_index_backend. Ultimately I couldn't populate the database and reverted to an unauthenticated Memgraph instance. This should be addressed when I implement ingestion endpoints in the API since we won't strictly need the research_index_backend.

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

No branches or pull requests

2 participants