The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(portal): the shared token store refreshes a login, it does not seed one
PRATHAMESH750269ddb7ca49
diff --git a/website/docs/integrations/nous-portal.md b/website/docs/integrations/nous-portal.mdindex b574213352c..2ce924baa45 100644--- a/website/docs/integrations/nous-portal.md+++ b/website/docs/integrations/nous-portal.md@@ -124,7 +124,9 @@ OAuth needs a browser, but the loopback callback runs on the machine where Herme### Profile setup-If you use [Hermes profiles](/user-guide/profiles), the Portal refresh token is automatically shared across all profiles via a shared token store. Sign in once on any profile, and the rest pick it up automatically — no need to repeat the OAuth flow per profile.+If you use [Hermes profiles](/user-guide/profiles), the Portal refresh token is shared across profiles via a shared token store — but the store **refreshes an existing login, it does not create one**. Profiles are independent islands ([#111724](https://github.com/NousResearch/hermes-agent/issues/111724)), so a profile that has never signed in to the Portal has no Nous credentials of its own: at boot it fails closed and asks you to set one up (`hermes -p <name> portal`) rather than silently adopting another profile's session.++Sign in **once per profile**. After a profile has completed the OAuth flow, the shared store keeps its token current whenever any profile re-logs in — you don't repeat the interactive OAuth flow to stay signed in, but you do run it once on each profile you want connected.## Using the Portal day-to-daydiff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/integrations/nous-portal.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/integrations/nous-portal.mdindex 771193905b6..0019fc3a168 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/integrations/nous-portal.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/integrations/nous-portal.md@@ -120,7 +120,9 @@ OAuth 需要浏览器,但回调的 loopback 运行在 Hermes 所在的机器### Profile 配置-如果你使用 [Hermes profiles(配置文件)](/user-guide/profiles),Portal 的 refresh token 会通过共享令牌存储自动在所有 profile 间共享。在任意 profile 上登录一次,其余 profile 自动获取——无需为每个 profile 重复 OAuth 流程。+如果你使用 [Hermes profiles(配置文件)](/user-guide/profiles),Portal 的 refresh token 会通过共享令牌存储在各 profile 间共享——但该存储**只刷新已有的登录,不会创建新登录**。各 profile 是相互独立的孤岛([#111724](https://github.com/NousResearch/hermes-agent/issues/111724)),因此从未登录过 Portal 的 profile 没有自己的 Nous 凭证:启动时它会失败并提示你先完成设置(`hermes -p <name> portal`),而不会静默采用其他 profile 的会话。++**每个 profile 都需登录一次。** 某个 profile 完成 OAuth 流程后,只要任一 profile 重新登录,共享存储便会让它的令牌保持最新——你无需为维持登录而重复交互式 OAuth 流程,但确实需要在每个想连接的 profile 上各运行一次。## 日常使用 Portal