grafana/grizzly

Authenticate with session cookie

l2dy opened this issue · 1 comments

l2dy commented

With limited permissions scoped under a certain folder, I could not create an API token in our Grafana instance, but I do have session cookies acquired using regular login. Would it be possible to authenticate with session cookie?

I'm currently not aware of a way to make this happen. I'd love to see a way to do something like Google's gcloud command does: gcloud auth login calls out to a browser window, you authenticate, grant permissions, then it 'hands back' to the CLI command, which is now authenticated. But, that will likely require modifications to Grafana, and as yet I don't know how to do that.

I'm going to keep this issue open, as I think it would be a useful addition for some point in the future.