forked from phoenix/litellm-mirror
Merge pull request #2687 from BerriAI/litellm_jwt_auth_fixes_2
Litellm jwt auth fixes
This commit is contained in:
commit
f15ba10170
5 changed files with 300 additions and 43 deletions
|
@ -2710,7 +2710,11 @@ async def startup_event():
|
|||
|
||||
## JWT AUTH ##
|
||||
jwt_handler.update_environment(
|
||||
prisma_client=prisma_client, user_api_key_cache=user_api_key_cache
|
||||
prisma_client=prisma_client,
|
||||
user_api_key_cache=user_api_key_cache,
|
||||
litellm_proxy_roles=LiteLLMProxyRoles(
|
||||
**general_settings.get("litellm_proxy_roles", {})
|
||||
),
|
||||
)
|
||||
|
||||
if use_background_health_checks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue