Skip to content

Add Poor-man’s auth to Ratel UI #224

@MichelDiz

Description

@MichelDiz

Reference: https://dgraph.io/docs/master/deploy/#dgraph-administration

Dgraph supports Poor-man’s auth. Which you can pass as an argument in the flag --auth_token.
For now, it protects Alter endpoint and some other admins operations, but in the future, it will protect mutations, queries, and GraphQl queries.

BTW, the flag mention "token" but you can literally use any Htpasswd Generator out there, also as it is just a string, you can pass any phrase or combination you want. I would strongly recommend a Htpasswd Generator or something safer like a "hash/Bcrypt".

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureSomething completely new we should consider.status/acceptedWe accept to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions