Skip to content

Commit 363b24b

Browse files
Minor changes to the Oauth2 sections
1 parent fed8099 commit 363b24b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

site/management.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,9 @@ management.oauth_client_id = rabbit_user_client
307307
management.oauth_provider_url = https://my-uaa-server-host:8443/uaa
308308
</pre>
309309

310-
> IMPORTANT: Since RabbitMQ 3.10, RabbitMQ uses `authorization_code` grant type. `implicit` flow is deprecated.
311-
> IMPORTANT: `management.oauth_client_secret` is an optional setting. It is only required when your authorization server requires it
310+
> **IMPORTANT**: Since RabbitMQ 3.10, RabbitMQ uses `authorization_code` grant type. `implicit` flow is deprecated.
311+
312+
> **IMPORTANT**: `management.oauth_client_secret` is an optional setting. It is only required when your authorization server requires it
312313
313314
### Allow Basic and OAuth 2 authentication
314315

site/oauth2.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ NOTE: `jwks_url` takes precedence over `signing_keys` if both are provided.
165165
| Key | Documentation
166166
|------------------------------------------|-----------
167167
| `auth_oauth2.resource_server_id` | [The Resource Server ID](#resource-server-id-and-scope-prefixes)
168+
| `auth_oauth2.resource_server_type` | [The Resource Server Type](#rich-authorization-request)
168169
| `auth_oauth2.additional_scopes_key` | Configure the plugin to also look in other fields (maps to `additional_rabbitmq_scopes` in the old format).
169170
| `auth_oauth2.default_key` | ID of the default signing key.
170171
| `auth_oauth2.signing_keys` | Paths to signing key files.
@@ -317,7 +318,7 @@ the `monitoring` tag will be `my_rabbit.tag:monitoring`.
317318

318319
### <a id="preferred-username-claims" class="anchor" href="#preferred-username-claims">Preferred username claims</a>
319320

320-
RabbitMQ The username associated with the token must be available to RabbitMQ so that this username is displayed in the RabbitMQ Management UI.
321+
The username associated with the token must be available to RabbitMQ so that this username is displayed in the RabbitMQ Management UI.
321322
By default, RabbitMQ searches for the `sub` claim first, and if it is not found, RabbitMQ uses the `client_id`.
322323

323324
Most authorization servers return the user's GUID in the `sub` claim instead of the user's username or email address, anything the user can relate to. When the `sub` claim does not carry a *user-friendly username*, you can configure one or several claims to extract the username from the token.

0 commit comments

Comments
 (0)