feat: TenChat auto-posting via refresh token (TCRF) auth
- Rewrite tenchat_publisher to TCRF-only flow: refresh -> Bearer access_token -> publish - Store only TCRF (one-time refresh token, rotates on each publish) - Add /tenchat page (GET/POST/disconnect) with username + TCRF fields - Add publish-to-TenChat button on post publish page - Update DB helpers: save/get/update/clear tenchat credentials
This commit is contained in:
1 parent
09b22446d4
commit
849e5c472a
6 files changed
+441
-2
No files matched your search
@@ -22,5 +22,11 @@
|
||||
<a href="/provider" class="copy-btn">⚙ Настроить провайдера</a>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>TenChat</h2>
|
||||
<p>Подключите аккаунт TenChat, чтобы публиковать посты автоматически.</p>
|
||||
<a href="/tenchat" class="copy-btn">🔑 Настроить TenChat</a>
|
||||
</div>
|
||||
|
||||
<p><a href="/dashboard">← Назад в кабинет</a></p>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user