You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -254,7 +254,7 @@ Cognito supports machine-to-machine authentication, enabling Agents to have thei
254
254
#### Authentication Flow:
255
255
Run the Agent with the following command:
256
256
```{.bash}
257
-
python agents/agent_w_auth.py
257
+
python agents/agent.py
258
258
```
259
259
1. Copy `agents/.env.template` to `agents/.env.agent` and set the environment variables (`COGNITO_CLIENT_ID`, `COGNITO_CLIENT_SECRET`, `COGNITO_USER_POOL_ID`) as appropriate for your setup. For detailed Cognito configuration steps, see [`docs/cognito.md`](cognito.md).
260
260
1. Agent startup:
@@ -283,13 +283,13 @@ Session cookie authentication enables agents to act on behalf of users, using th
283
283
284
284
#### Implementation Components
285
285
286
-
##### a. CLI Authentication Tool (`auth_server/cli_auth.py`)
286
+
##### a. CLI Authentication Tool (`agents/cli_user_auth.py`)
287
287
288
288
The CLI tool handles the OAuth flow with Cognito and saves the session cookie locally:
Copy `agents/.env.template` to `agents/.env.user` and set the environment variables (`COGNITO_CLIENT_ID`, `COGNITO_CLIENT_SECRET`, `COGNITO_USER_POOL_ID`, `SECRET_KEY`) as appropriate for your setup. For detailed Cognito configuration steps, see [`docs/cognito.md`](cognito.md).
309
309
310
-
The agent (`agents/agent_w_auth.py`) supports session cookie authentication:
310
+
The agent (`agents/agent.py`) supports session cookie authentication:
0 commit comments