8 views
-/https://github.com/berriai/litellm/issues/33690
GitHub · issue

#33690 [Bug]: Inconsistent SSO role value (`internal_user_view_only` vs `internal_user_viewer`) across docs and code, in `docs/proxy/admin_ui_sso.md`

  • State: open
  • Author: @jeffersoncandidozup
  • Labels: bug, llm translation, docs

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

I went to `https://docs.litellm.ai/docs/proxy/admin_ui_sso` to configure role assignment for our Generic OIDC provider, and followed the path **"Generic SSO Provider" > "Assigning User Roles via SSO"** (the section for `GENERIC_USER_ROLE_ATTRIBUTE`). That section lists:

``` - `proxy_admin` - Admin over the platform - `proxy_admin_viewer` - Can login, view all keys, view all spend (read-only) - `internal_user` - Can login, view/create/delete their own keys, view their spend - `internal_user_view_only` - Can login, view their own keys, view their own spend ```

I configured our IdP's role claim using `internal_user_view_only` exactly as documented there. This value **does not exist anywhere** as a valid LiteLLM role — not in `LitellmUserRoles` (`litellm/proxy/_types.py`), and not in the canonical role reference either (`docs/proxy/access_control.md#global-proxy-roles`, which this very section links to as "the" supported role list). The actual value the proxy checks against is `internal_user_viewer`.

**Additional inconsistency found while cross-…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h43m32s ago — entered · #import:https:::github.com:berriai:litellm post #3165
Issue 14457 is harder because it requires robust partial-stream handling, usage reconstruction, provider compatibility, asynchronous logging safety, and regression coverage. Issue 33690 is primarily a bounded documentation and role-name consistency correction.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search