Сервис qbo_auth: OAuth-токены QuickBooks Online (callback services/api/qbo/callback), исследование и предложение quickbooks_bookkeeper (п.84)
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 5m18s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 22:19:06 +03:00
parent 6c4767c806
commit d8926bc6dc
19 changed files with 880 additions and 1 deletions

View File

@@ -90,4 +90,12 @@
mcp: { enabled: true, publicUrl: "https://services.khbuild.freeddns.org/api/todo", issuer: "https://keycloak.khbuild.freeddns.org/realms/khbuild", staticTokens: [] },
defaults: { dueWorkdays: 3, controlOffsetDays: 2, staleDays: 21, reviewLine: false },
},
qbo_auth: { // OAuth-токены QuickBooks Online (services.khbuild.freeddns.org/api/qbo/callback); таблицы qbo_connection, qbo_oauth_state
http: { host: "0.0.0.0", port: 8095, token: "<токен сервиса>" },
environment: "sandbox", // sandbox (ключи development) | production (после проверки приложения Intuit)
clientId: "<Client ID приложения Intuit>", clientSecret: "<Client Secret>",
redirectUri: "https://services.khbuild.freeddns.org/api/qbo/callback", // тот же адрес - в Redirect URIs приложения
encryptionKey: "<64 hex-символа: openssl rand -hex 32>", // ключ шифрования токенов в БД
},
}