OAuth 2 plugin: typos, minor edits of rabbitmq.conf schema

(cherry picked from commit b83433cc06)
This commit is contained in:
Michael Klishin 2025-09-06 13:50:46 -04:00
parent 318379e17b
commit bfd1325fe6
No known key found for this signature in database
GPG Key ID: 16AB14D00D613900
1 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@
%% used to determine the user's identity, a.k.a username. %% used to determine the user's identity, a.k.a username.
%% RabbitMQ appends `sub` and `client_id` claims. %% RabbitMQ appends `sub` and `client_id` claims.
%% e.g. RabbitMQ first looks for username claim. If it is not present, it looks for user_name %% e.g. RabbitMQ first looks for username claim. If it is not present, it looks for user_name
%% and so forth. If it cannot find any, it defauls to unknown. %% and so forth. If it cannot find any, it defaults to unknown.
%% {preferred_username_claims, [<<"username">>, <<"user_name">>, <<"email">> ]}, %% {preferred_username_claims, [<<"username">>, <<"user_name">>, <<"email">> ]},
{mapping, {mapping,
@ -163,7 +163,7 @@
"rabbitmq_auth_backend_oauth2.token_endpoint", "rabbitmq_auth_backend_oauth2.token_endpoint",
[{datatype, string}, {validators, ["uri", "https_uri"]}]}. [{datatype, string}, {validators, ["uri", "https_uri"]}]}.
%% DEPRECATES auth_oauth2.jwks_url %% Deprecates and replaces auth_oauth2.jwks_url
{mapping, {mapping,
"auth_oauth2.jwks_uri", "auth_oauth2.jwks_uri",
"rabbitmq_auth_backend_oauth2.jwks_uri", "rabbitmq_auth_backend_oauth2.jwks_uri",
@ -271,8 +271,8 @@
end}. end}.
%% This setting is only required when there are +1 auth_oauth2.oauth_providers %% This setting is only required when there are multiple `auth_oauth2.oauth_providers`.
%% If this setting is omitted, its default to the first oauth_provider %% If this setting is omitted, its default to the first oauth_provider on the list.
{mapping, {mapping,
"auth_oauth2.default_oauth_provider", "auth_oauth2.default_oauth_provider",