Skip to content

Commit

Permalink
Merge pull request #8521 from rabbitmq/mergify/bp/v3.11.x/pr-8519
Browse files Browse the repository at this point in the history
Add a shorthand for the OAuth 2 authN/authZ backend (backport #8513) (backport #8519)
  • Loading branch information
michaelklishin authored Jun 10, 2023
2 parents 7cc0f6b + 3f12033 commit eabe582
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/rabbit/priv/schema/rabbit.schema
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ fun(Conf) ->
(internal) -> rabbit_auth_backend_internal;
(ldap) -> rabbit_auth_backend_ldap;
(http) -> rabbit_auth_backend_http;
(oauth) -> rabbit_auth_backend_oauth2;
(oauth2) -> rabbit_auth_backend_oauth2;
(cache) -> rabbit_auth_backend_cache;
(amqp) -> rabbit_auth_backend_amqp;
(dummy) -> rabbit_auth_backend_dummy;
Expand Down
8 changes: 8 additions & 0 deletions deps/rabbit/test/config_schema_SUITE_data/rabbit.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"auth_backends.1 = ldap",
[{rabbit,[{auth_backends,[rabbit_auth_backend_ldap]}]}],
[]},
{http_auth_backend,
"auth_backends.1 = http",
[{rabbit,[{auth_backends,[rabbit_auth_backend_http]}]}],
[]},
{oauth2_auth_backend,
"auth_backends.1 = oauth2",
[{rabbit,[{auth_backends,[rabbit_auth_backend_oauth2]}]}],
[]},
{multiple_auth_backends,
"auth_backends.1 = ldap
auth_backends.2 = internal",
Expand Down

0 comments on commit eabe582

Please sign in to comment.