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.
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 usestvClient.accessTokeninstead -- 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.