Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions authbridge/demos/github-issue/demo-aiac.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Authbridge outbound check will exchange the token, then deny the request since t

REALM_NAME="rossoctl"

ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/${REALM_NAME}/protocol/openid-connect/token \
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit — the other four docs gained a clarifying comment (# Get a Keycloak admin token from the master realm (admin/admin; the rossoctl realm admin password is randomly generated)), but the two admin-token grants in this file (this line and ~631) switch to realms/master with no comment while REALM_NAME="rossoctl" still sits just above. For parity with the sibling docs — and to explain the master-vs-rossoctl split to a reader — consider adding the same one-line comment here. Not blocking.

-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down Expand Up @@ -628,7 +628,7 @@ Test the policy by getting tokens for different users:

REALM_NAME="rossoctl"

ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/${REALM_NAME}/protocol/openid-connect/token \
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down
6 changes: 3 additions & 3 deletions authbridge/demos/github-issue/demo-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ kubectl exec -it test-client -n team1 -- sh
Inside the test-client pod, run:

```bash
# Get a Keycloak admin token from the rossoctl realm
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
# Get a Keycloak admin token from the master realm (admin/admin; the rossoctl realm admin password is randomly generated)
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down Expand Up @@ -896,7 +896,7 @@ Inside the test-client pod, get the agent's client credentials (needed to reques
user tokens that include the agent's audience):

```bash
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down
6 changes: 3 additions & 3 deletions authbridge/demos/github-issue/demo-rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,8 @@ kubectl exec -it test-client -n team1 -- sh
Inside the test-client pod, run:

```bash
# Get a Keycloak admin token from the rossoctl realm
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
# Get a Keycloak admin token from the master realm (admin/admin; the rossoctl realm admin password is randomly generated)
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down Expand Up @@ -879,7 +879,7 @@ Inside the test-client pod, get the agent's client credentials (needed to reques
user tokens that include the agent's audience):

```bash
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down
6 changes: 3 additions & 3 deletions authbridge/demos/github-issue/demo-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ kubectl exec -it test-client -n team1 -- sh
Inside the pod, get credentials and send a request:

```bash
# Get a Keycloak admin token from the rossoctl realm
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
# Get a Keycloak admin token from the master realm (admin/admin; the rossoctl realm admin password is randomly generated)
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down Expand Up @@ -848,7 +848,7 @@ jwt_payload() {
echo "$p" | base64 -d
}

ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down
4 changes: 2 additions & 2 deletions authbridge/demos/weather-agent/demo-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ kubectl exec -it test-client -n team1 -- sh
Inside the pod, get credentials and send a request:

```bash
# Get a Keycloak admin token from the rossoctl realm
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/rossoctl/protocol/openid-connect/token \
# Get a Keycloak admin token from the master realm (admin/admin; the rossoctl realm admin password is randomly generated)
ADMIN_TOKEN=$(curl -s http://keycloak-service.keycloak.svc:8080/realms/master/protocol/openid-connect/token \
-d "grant_type=password" \
-d "client_id=admin-cli" \
-d "username=admin" \
Expand Down
Loading