I am using Postman to connect to the Laserfiche self-hosted API by performing the following actions.
- I perform an HTTP POST to https://mysandbox/LFRepositoryAPI/v1/Repositories/Sandbox/Token
- In the body, I pass
- grant_type = password
- username = my username
- password = my password
- I successfully generate an access token
- I perform an HTTP GET to https://mysandbox/LFRepositoryAPI/v1/Repositories/Sandbox/Entries/123
- In the headers, I pass
- Authorization = Bearer {my access token}
- I get back a 9010 access denied "user account name or password is incorrect"
I can replicate the same behavior on the API swagger page on the server by
- Using the Token api call to generate an access token
- Clicking the authorize button at the top right and supplying the access token
- Using the Entries api call
My user account has full access rights to this entry and all entries in the repository.
Any thoughts?