Report a Dgraph Client Bug
What Dgraph client (and version) are you using?
- Dgo
- PyDgraph
- Dgraph4J
- Dgraph-js
- Dgraph-js-http
- Dgraph.NET
Version:
21.3.1.2
What version of Dgraph are you using?
docker image dgraph/standalone:latest
Steps to reproduce the issue (command/config used to run Dgraph).
var result = await dgraphClient.Login(new LoginRequest()
{
Namespace = 0,
Userid = "groot",
Password = "password",
});
if (!result.IsSuccess)
{
throw new InvalidOperationException();
}
var operation = new Operation
{
DropAll = false,
DropOp = Operation.Types.DropOp.Data,
RunInBackground = false,
};
result = await dgraphClient.Alter(operation);
if (!result.IsSuccess)
{
throw new InvalidOperationException();
}
Expected behaviour and actual result.
The Login succeeds but Alter fails with Status(StatusCode="Unauthenticated", Detail="no accessJwt available")