
bsoer2212 asked a question.
Why am i getting "Salt is not at least eight bytes" when trying to access the /api endpoint?
We have the Snow Lincense Manager and i want to pull some data with the api, which according to the documentation should be at slm.<company.com>/api, and that you should supply the username and password as base64 encoded. When i do so i get error code 500 saying: "Salt is not at least eight bytes". I have also tried accessing the /api endpoint through the browser and encountering the same problem.
Ensure your request includes a properly formatted Authorization header:
Authorization: Basic <base64(username:password)>
The username:password string must be correctly base64-encoded.
Avoid encoding just the username or password separately.
If Windows Authentication is enabled for the SLM site, it can interfere with API access.
Thank you for your response, Detlev.
Disabling Windows authentication and enabling Anonymous login does not appear to be a secure solution to the issue. Will this error between Windows authentication and API access be resolved in the near future?
As far as I know, this is not planned in the near future!
However, you can create an idea on our ideas board on the topic. It is also possible to vote here if an idea has already been created!
Snow Ideas Board