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
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ If you want to understand the details of how to configure RabbitMQ with Oauth2 g
34
34
-[Combine OAuth 2.0 authentication with other mechanism](#oauth2-and-other-mechanism)
35
35
- [Basic Authentication](#basic-authentication)
36
36
- [Authn with OAuth 2 and Authz with internal](#authn-with-oauth-authz-with-internal)
37
-
- Use different OAuth 2.0 servers
37
+
-[Use different OAuth 2.0 servers](#use-different-oauth2-servers)
38
38
- [KeyCloak](use-cases/keycloak.md)
39
39
- [Auth0](use-cases/auth0.md)
40
40
- [Azure Active Directory](use-cases/azure.md)
@@ -64,8 +64,16 @@ If you want to understand the details of how to configure RabbitMQ with Oauth2 g
64
64
65
65
## OAuth2 plugin in action
66
66
67
-
In order see the [rabbitmq-auth-backend-oauth2](https://github.com/rabbitmq/rabbitmq-server/tree/main/deps/rabbitmq_auth_backend_oauth2) plugin in action you need an OAuth 2.0 **Authorization server** running and RabbitMQ server configured accordingly. To get up and running quickly, you are going to use UAA as Authorization Server. In the next section, you will see how to set up UAA and RabbitMQ. If you are new to OAuth 2.0, it is a good starting point. If you already know OAuth 2.0 and you want to learn how to configure RabbitMQ to talk to one of OAuth 2.0 server tested on this tutorial, you can jump straight to them. They are [KeyCloak](use-cases/keycloak.md), [https://auth0.com/](use-cases/auth0.md) and [Azure Active Directory](use-cases/azure.md) in addition to UAA which you will use it in the next sections.
67
+
In order see the [rabbitmq-auth-backend-oauth2](https://github.com/rabbitmq/rabbitmq-server/tree/main/deps/rabbitmq_auth_backend_oauth2) plugin in action you need the following:
68
+
- an OAuth 2.0 **Authorization server** running and
69
+
- RabbitMQ server configured to use the above OAuth 2.0.
68
70
71
+
The following sections walks you through the following actions:
72
+
- Deploy an Authorization Server called UAA
73
+
- Deploy RabbitMQ with various configurations using UAA as the Authorization Server
74
+
- Test various ways to access RabbitMQ and authenticating with OAuth 2.0
75
+
76
+
In addition to the Authorization Server called UAA, RabbitMQ can be used with other Authorization Servers. The section [Use different OAuth 2.0 servers](#use-different-oauth2-servers) has one sub-section for each one of the Authorization Servers RabbitMQ has been tested against.
69
77
70
78
### Set up UAA and RabbitMQ
71
79
@@ -811,6 +819,17 @@ make curl-with-token URL=http://localhost:15672/api/overview \
811
819
812
820
> Check out the token [here](jwts/producer-without-scopes.json)
813
821
822
+
## <aid="use-different-oauth2-server"class="anchor"href="#use-different-oauth2-server">Use different OAuth 2.0 servers</a>
823
+
824
+
Below there is a list of all the Authorization Servers RabbitMQ has been tested against. For each Authorization Server, there is a dedicated README file that explains how to configure RabbitMQ for that Authorization Server, tests various flows and deploy the Authorization Server when applicable. Some Authorization Servers are hosted in the cloud like Auth0, Okta and Azure and others are deployed locally like KeyCloak or OAuth2 Proxy.
0 commit comments