Skip to content

Commit e1ca279

Browse files
michaelklishindumbbell
authored andcommitted
OAuth 2 plugin: typos, minor edits of rabbitmq.conf schema
(cherry picked from commit b83433c)
1 parent 4100450 commit e1ca279

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbitmq_auth_backend_oauth2/priv/schema/rabbitmq_auth_backend_oauth2.schema

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
%% used to determine the user's identity, a.k.a username.
108108
%% RabbitMQ appends `sub` and `client_id` claims.
109109
%% e.g. RabbitMQ first looks for username claim. If it is not present, it looks for user_name
110-
%% and so forth. If it cannot find any, it defauls to unknown.
110+
%% and so forth. If it cannot find any, it defaults to unknown.
111111
%% {preferred_username_claims, [<<"username">>, <<"user_name">>, <<"email">> ]},
112112

113113
{mapping,
@@ -163,7 +163,7 @@
163163
"rabbitmq_auth_backend_oauth2.token_endpoint",
164164
[{datatype, string}, {validators, ["uri", "https_uri"]}]}.
165165

166-
%% DEPRECATES auth_oauth2.jwks_url
166+
%% Deprecates and replaces auth_oauth2.jwks_url
167167
{mapping,
168168
"auth_oauth2.jwks_uri",
169169
"rabbitmq_auth_backend_oauth2.jwks_uri",
@@ -271,8 +271,8 @@
271271
end}.
272272

273273

274-
%% This setting is only required when there are +1 auth_oauth2.oauth_providers
275-
%% If this setting is omitted, its default to the first oauth_provider
274+
%% This setting is only required when there are multiple `auth_oauth2.oauth_providers`.
275+
%% If this setting is omitted, its default to the first oauth_provider on the list.
276276

277277
{mapping,
278278
"auth_oauth2.default_oauth_provider",

0 commit comments

Comments
 (0)