dgraph icon indicating copy to clipboard operation
dgraph copied to clipboard

[ENHANCEMENT]: GraphQL admin service to set Dgraph.Authorization

Open rderbier opened this issue 1 year ago • 0 comments

Use case and current behavior

Authorization config is done through the Dgraph.Authorization comment line in the GraphQL Schema.

With the current solution, renewing the certificate requires the redeployment of the entire Schema which is not perceived as a good solution.

Enhancement

Create an admin endpoint to set the Authorization without deploying the GraphQL schema. This would bring a good separation of concern (dev doing the schema and admin setting the Authentication). It is particularly needed to renew the certificate for the JWT token.

Solution proposal

No response

Links to Discuss, RFC or previous Issues and PRs

No response

Links to examples and research

No response

Additional Information

No response

rderbier avatar Jul 18 '23 16:07 rderbier