You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.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.The text was updated successfully, but these errors were encountered: