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
Copy file name to clipboardExpand all lines: README.md
+2-13Lines changed: 2 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,7 @@ This project supports deploying with OAuth 2.0 authentication using Keycloak as
332
332
333
333
### Testing with the agent
334
334
335
-
1. Generate the local environment file:
335
+
1. Generate the local environment file (automatically created after `azd up`):
336
336
337
337
```bash
338
338
./infra/write_env.sh
@@ -346,18 +346,7 @@ This project supports deploying with OAuth 2.0 authentication using Keycloak as
346
346
uv run agents/agentframework_http.py
347
347
```
348
348
349
-
The agent automatically detects `KEYCLOAK_REALM_URL` in the environment and authenticates via DCR + client credentials.
350
-
351
-
Expected output:
352
-
353
-
```text
354
-
INFO 🔐 Auth enabled - connecting to https://mcproutes.<env>.azurecontainerapps.io/mcp with Bearer token
355
-
INFO 📝 Registering client via DCR...
356
-
INFO ✅ Registered client: agentframework-20251205-...
357
-
INFO 🔑 Getting access token from Keycloak...
358
-
INFO ✅ Got access token (expires in 300s)
359
-
The expense of $1200.0 for 'laptop' on 2025-12-04 has been successfully added.
360
-
```
349
+
The agent automatically detects `KEYCLOAK_REALM_URL` in the environment and authenticates via DCR + client credentials. On success, it will add an expense and print the result.
0 commit comments