mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
IAM seeds apps as <org>-<app> (iam cmd/iam/cli/init_apps.go:57-59): hanzo-app, zoo-app, lux-app — AppName == ClientID. Several packages used the inverted 'app-hanzo'/'app-hanzobot' or placeholder '*-client-id', none of which IAM knows — device/PKCE login would fail. One value, everywhere: - hanzoai/auth.py: login_with_pkce default -> IAM_CLIENT_ID (hanzo-app) - hanzo-cli/auth.py: DEFAULT_APP, DEFAULT_CLIENT_ID -> hanzo-app - hanzo/commands/auth.py: IAM_CLIENT_ID -> hanzo-app - hanzo-tools-auth/session.py: DEFAULT_APP, DEFAULT_CLIENT_ID -> hanzo-app - hanzo/commands/iam.py: --app default + doc example -> hanzo-app - hanzo-cli/bot/commands.py: BOT_IAM_APP/CLIENT_ID app-hanzobot -> hanzo-bot