Skip to content

can't load admin Dashboard. Invalid Response #14

Description

@starcrest

After successful login with admin account, the dashboard is a blank page with an Invalid Response error. Call to http://localhost:3000/api/dashboard/stats gives a 401 Unauthorized.

This is because the (local) server is not receiving any access token via req.headers['x-tv-access-token'].

The react client code should be sending the token from its tvClient.apiKeyOrAccessToken, but that's undefined. Looks like the updated API uses tvClient.accessToken instead -- at least, there's a value there that looks like a token -- but I haven't been able to monkey patch it to make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions