pixeleye-io / pixeleye

The batteries-included platform for visually testing and reviewing your UI; it's even self-hostable! Connect your codebase with our many integrations and dramatically increase your test coverage in minutes.
https://pixeleye.io/home
GNU Affero General Public License v3.0
89 stars 3 forks source link

unauthorized error #341

Closed jamime closed 1 month ago

jamime commented 1 month ago

Describe the bug pixeleye storybook always gives {"message":"unauthorized"}

To Reproduce Follow the guide for storybook.

Expected behavior It should authenticate.

Additional context

    "pixeleye": "npx serve storybook-static -p 6007 & pixeleye storybook http://localhost:6007"
// pixeleye.config.js
/** @type {import('pixeleye').Config} */
const config = {
  token: "xxxxx",
};

export default config;

I tried passing the token directly to pixeleye storybook --token and it gives the same error.

jamime commented 1 month ago

Token had an extra char in it at the start.