{"record":{"id":"9d9f80e31cb70c22","repo":"BerriAI/litellm","slug":"unsupported-oidc-provider","errorCode":null,"errorMessage":"Unsupported OIDC provider","messagePattern":"Unsupported OIDC provider","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/secret_managers/main.py","lineNumber":313,"sourceCode":"            with open(safe_path, \"r\") as f:\n                oidc_token = f.read()\n                return oidc_token\n        elif oidc_provider == \"env\":\n            # Load token directly from an environment variable\n            oidc_token = os.getenv(oidc_aud)\n            if oidc_token is None:\n                raise ValueError(f\"Environment variable {oidc_aud} not found\")\n            return oidc_token\n        elif oidc_provider == \"env_path\":\n            # Load token from a file path specified in an environment variable\n            token_file_path: Final = os.getenv(oidc_aud)\n            if token_file_path is None:\n                raise ValueError(f\"Environment variable {oidc_aud} not found\")\n            with open(token_file_path, \"r\") as f:\n                oidc_token = f.read()\n                return oidc_token\n        else:\n            raise ValueError(\"Unsupported OIDC provider\")\n\n    try:\n        if _should_read_secret_from_secret_manager() and litellm.secret_manager_client is not None:\n            try:\n                client: Final = litellm.secret_manager_client\n                key_manager = \"local\"\n                if key_management_system is not None:\n                    key_manager = key_management_system.value\n\n                if key_management_settings is not None:\n                    if (\n                        key_management_settings.hosted_keys is not None\n                        and secret_name not in key_management_settings.hosted_keys\n                    ):  # allow user to specify which keys to check in hosted key manager\n                        key_manager = \"local\"\n\n                # Delegate to the secret manager handler\n                secret = get_secret_from_manager(","sourceCodeStart":295,"sourceCodeEnd":331,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/secret_managers/main.py#L295-L331","documentation":"Terminal dispatch guard in the OIDC provider chain: oidc_provider matched none of the supported providers (google, circleci, circleci_v2, github, azure, file, env, env_path). Sentinel error for an unrecognized provider string.","triggerScenarios":"Thrown at litellm/secret_managers/main.py:313 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a supported OIDC provider prefix: oidc/google/, oidc/github/, oidc/azure/, oidc/circleci/, oidc/file/, or oidc/env/."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}