You know how it’s often just really simple errors that make you search the internet for a solution for hours? Turns out this is what happened: I forgot a single comma at the end of the Dgraph.Authorization line. For everyone who came across this I suggest double- and triple‑checking your code for typing errors.