Skip to main content
Auth Configs define how users authenticate with toolkits. They specify OAuth credentials, API key requirements, and other authentication settings.

Methods

list

configs = composio.auth_configs.list(
    toolkit_slug="github"
)

create

config = composio.auth_configs.create(
    toolkit="github",
    options={
        "type": "use_composio_managed_auth",
        "tool_access_config": {
            "tools_for_connected_account_creation": []
        }
    }
)

get

config = composio.auth_configs.get("ac_xxx")

update

updated = composio.auth_configs.update(
    "ac_xxx",
    options={"type": "custom", "credentials": {...}}
)

delete

composio.auth_configs.delete("ac_xxx")

enable / disable

composio.auth_configs.enable("ac_xxx")
composio.auth_configs.disable("ac_xxx")

Build docs developers (and LLMs) love