Using the GraphQL Admin API to manage Neo4J users

authentication
graphql

(evdev) #1

Hey folks, I'm experimenting with the GraphQL Neo4J plugin and trying to understand some of the limitations around authentication/authorization.

I've been exploring the Admin API provided by the plugin available at /graphql/admin/, I'm wondering is it possible to use some of the provided mutations to create & manage neo4j users/roles?

I've configured my plugin settings to expose all db/dbms procedures for read and write to the GraphQL plugin, however when I attempt the mutation dbmsSecurityCreateUser I get the error Unable to inject component to field securityContext

For those who haven't explored this see bottom of the repo docs on how to enable the plugin with the proper neo4j config settings