forked from phoenix/litellm-mirror
fix(proxy_server.py): don't require scope for team-based jwt access
If team with the client_id exists then it should be allowed to make a request, if it doesn't then as we discussed it should return an error
This commit is contained in:
parent
ceabf726b0
commit
c52819d47c
2 changed files with 1 additions and 7 deletions
|
@ -149,7 +149,7 @@ general_settings:
|
|||
enable_jwt_auth: True
|
||||
litellm_jwtauth:
|
||||
...
|
||||
team_jwt_scope: "litellm-team" # 👈 Set JWT Scope string
|
||||
team_id_jwt_field: "litellm-team" # 👈 Set field in the JWT token that stores the team ID
|
||||
team_allowed_routes: ["/v1/chat/completions"] # 👈 Set accepted routes
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue