DescriptionI'm running Manyfold via the official Docker image and trying to access the API (models, collections, etc.) using OAuth2 The OpenAPI spec at Note: This occurs in single-user mode ( Steps to Reproduce
→ This succeeds and returns a valid
Expected behavior: Actual behavior:
|
Replies: 1 comment 1 reply
|
Resolved — this ended up being a combination of auth mode, token type, request headers, and banging my head talking with claude. The working setup was:
environment:
MULTIUSER: enabled
Using Accept: application/json caused 406 Not Acceptable
The working solution was to create a Personal Access Token from the Manyfold web UI under: Profile → Access Tokens with the needed scopes, such as public and read. After switching to the Personal Access Token, setting: the API started returning the expected collections/models data. So the main fixes were:
Here is my current docker compose yaml file that was used to set this up (WIndows 11): Here is the structure of the json credential file used for fetching the data from API: Here is a python script with standard libraries fetching the models from the API: |
Resolved — this ended up being a combination of auth mode, token type, request headers, and banging my head talking with claude.
The working setup was:
Using Accept: application/json caused 406 Not Acceptable
The client_credentials token was issued successfully, but it did not have a resource_owner_id, so it was not associated with a Manyfold user. The API appears to require a user-owned token.
The working solution was to…