Grafana version: 4.6.0
Browser: Firefox 62.0.3 (x64)
Hello! I’ve been trying to create a user through the Grafana API, but apparently something very weird is happening ( perhaps because it’s an older version of Grafana? ).
@Edit: I’ve tried with the new version of Grafana, the same problem occurs.
And I’m Using XMLHttpRequest.
If I try to create a user using only the Basic Auth ( default of admin:admin ), the server returns a 401 Unauthorized. But if I have a cookie of an admin user logged in, the server creates the user normally. But in the documentation it’s said that all you need is the Basic Auth of an Admin user.
See pictures attached.