Skip to content

Commit c230cac

Browse files
Improve wording
1 parent 334f45d commit c230cac

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

docs/oauth2-examples/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -709,12 +709,11 @@ are accessing, or any single value claim in the token such as `user_name`.
709709

710710
To demonstrate this feature, follow these steps:
711711

712-
1. Follow the steps explained to demonstrate [Keycloak](./oauth2-examples-keycloak)
713-
Oauth provider.
714-
2. Keycloak is configured to issue tokens with the scope `rabbitmq.configure:*/q-{user_name}`
715-
3. Log in with the username `rabbit_admin`
712+
1. Start Keycloak Oauth provider and RabbitMQ following the steps explained in [Keycloak](./oauth2-examples-keycloak)
713+
2. Keycloak is already configured to issue tokens with the scope `rabbitmq.configure:*/q-{user_name}`
714+
3. Log in with the username `rabbit_admin` to the management ui at http://localhost:15672
716715
4. Try to create a queue with the name `test`. It should fail with an authorization error
717-
5. Try to create a queue with the name `q-rabbit_admin`. It should allow you.
716+
5. Create a queue with the name `q-rabbit_admin`. It should allow you.
718717

719718
There is no configuration required in RabbitMQ. But at least it requires RabbitMQ 4.1.1.
720719

versioned_docs/version-4.1/oauth2-examples/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -709,12 +709,11 @@ are accessing, or any single value claim in the token such as `user_name`.
709709

710710
To demonstrate this feature, follow these steps:
711711

712-
1. Follow the steps explained to demonstrate [Keycloak](./oauth2-examples-keycloak)
713-
Oauth provider.
714-
2. Keycloak is configured to issue tokens with the scope `rabbitmq.configure:*/q-{user_name}`
715-
3. Log in with the username `rabbit_admin`
712+
1. Start Keycloak Oauth provider and RabbitMQ following the steps explained in [Keycloak](./oauth2-examples-keycloak)
713+
2. Keycloak is already configured to issue tokens with the scope `rabbitmq.configure:*/q-{user_name}`
714+
3. Log in with the username `rabbit_admin` to the management ui at http://localhost:15672
716715
4. Try to create a queue with the name `test`. It should fail with an authorization error
717-
5. Try to create a queue with the name `q-rabbit_admin`. It should allow you.
716+
5. Create a queue with the name `q-rabbit_admin`. It should allow you.
718717

719718
There is no configuration required in RabbitMQ. But at least it requires RabbitMQ 4.1.1.
720719

0 commit comments

Comments
 (0)