Skip to content

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

@ondrejFuchs

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.

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