Skip to content

docs(login): Use client and add note for cloud. #56

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

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Nov 9, 2021

The docs had mentioned to authenticate to Dgraph Cloud using DgraphClient and to login for ACLs with the DgraphClientStub. They don't mix and match very well (the Dgraph Cloud authentication needs to happen first, so the ACL login shouldn't happen in the stub).

It's clearer to have both authentication calls happen after creating the DgraphClient.

This change is Reviewable

Copy link

@nelsonpecora nelsonpecora left a comment

Choose a reason for hiding this comment

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

I can confirm this change makes it work!

@danielmai danielmai merged commit 498e32f into master Nov 9, 2021
@danielmai danielmai deleted the danielmai/docs-login branch November 9, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants