You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm following the official documentation to set up token authentication for my Chroma server. Authentication works correctly with HttpClient, but fails when using AsyncHttpClient. Does anyone know what's the issue?
roles_mapping:
admin:
actions:
["system:reset","tenant:create_tenant","tenant:get_tenant","db:create_database","db:get_database","db:list_collections","collection:get_collection","db:create_collection","db:get_or_create_collection","collection:delete_collection","collection:update_collection","collection:add","collection:delete","collection:get","collection:query","collection:peek","collection:update","collection:upsert","collection:count",]# `users` config is used by both TokenAuthenticationServerPro vider and SimpleRBACAuthorizationServerProvider.# - TokenAuthenticationProvider only needs the id and tokens.# - SimpleRBACAuthorizationProvider only needs the id and the role.users:
- id: user@example.comrole: admintokens:
- admin-token
What happened?
Hello, I'm following the official documentation to set up token authentication for my Chroma server. Authentication works correctly with HttpClient, but fails when using AsyncHttpClient. Does anyone know what's the issue?
Succeeded with Synchronous Mode
Failed with Asynchronous Mode
My Chroma server config:
ref: https://docs.trychroma.com/deployment/docker#static-api-token-authentication
authz.yaml
docker container env:
Versions
docker image: ghcr.io/chroma-core/chroma:0.5.17
chromadb-client: 0.5.17
Python: 3.11.6
The text was updated successfully, but these errors were encountered: