UrielCh / proxmox-api

TypeScript Api for proxmox
56 stars 15 forks source link

0.3.0 Breaks support for API Keys and Secrets #9

Closed timcole closed 1 year ago

timcole commented 1 year ago

Upgrading from 0.2.0 to 0.3.0 causes every request to throw Error: login failed with 401: authentication failure when authenticating using tokenId and tokenSecret.

Downgrading back to 0.2.0 works.

[cause]: Error: Auth https://{REDACTED}:8006/api2/json/access/ticket Failed! with Exception: Error: login failed with 401: authentication failure
UrielCh commented 1 year ago

I'm sorry about that, can you provide me a code sample to reproduce?

Any calls using token secret? get the issue.

timcole commented 1 year ago

Literally any calls yeah. The "Using Api token" example at the bottom of the readme doesn't even work anymore.

UrielCh commented 1 year ago

regression reproduced.

UrielCh commented 1 year ago

regression fixed, v0.3.1 published.

timcole commented 1 year ago

0.3.1 fixed this issue, thanks 👍🏻