Skip to content

Unable to publish dashboard TEST API dashboard { message: 'Unauthorized' } Got statusCode401 #49

Description

@ondrejFuchs

Hi,
I try to connect to grafana running in docker and I don't know how to set up
grafana.configure({
url: 'http://localhost:3000/api/dashboards/db/',
cookie: 'auth-openid=REPLACETOKENIFAPPLICABLE'
});

I usually use API TOKEN in form: Authorization: Bearer "My-token", but how to configure "cookie"?
For any reaction I will be grateful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions