File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
versioned_docs/version-4.1/oauth2-examples Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -709,12 +709,11 @@ are accessing, or any single value claim in the token such as `user_name`.
709
709
710
710
To demonstrate this feature, follow these steps:
711
711
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
716
715
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.
718
717
719
718
There is no configuration required in RabbitMQ. But at least it requires RabbitMQ 4.1.1.
720
719
Original file line number Diff line number Diff line change @@ -709,12 +709,11 @@ are accessing, or any single value claim in the token such as `user_name`.
709
709
710
710
To demonstrate this feature, follow these steps:
711
711
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
716
715
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.
718
717
719
718
There is no configuration required in RabbitMQ. But at least it requires RabbitMQ 4.1.1.
720
719
You can’t perform that action at this time.
0 commit comments