I can’t find any api to set the auth_token in dgraph4j source code or in docs.
Is there a way encapsulated in the dgraph4j to set the auth_token?I’ll be very appreciated if anyone can tell me how to use it.
See here for reference.
Thanks.Working on it
Hi @louiszhanghaibin, you can have a look at setting-metadata-headers also.
Feel free for further followups and please mark it as solved if it works for you.
Expecting for a more elegant way