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: articles/event-grid/mqtt-client-custom-jwt.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.subservice: mqtt
14
14
You can authenticate MQTT clients with OAuth 2.0 JWT to connect to the Event Grid namespace. You can embed and validate custom claims in the JWT to authorize publish or subscribe permissions to your Event Grid topic spaces.
15
15
16
16
> [!IMPORTANT]
17
-
> -This feature is supported only when using the MQTT v5 protocol version.
17
+
> This feature is supported only when using the MQTT v5 protocol version.
18
18
19
19
## Prerequisites
20
20
- You need an Event Grid namespace with MQTT enabled. Learn about [creating Event Grid namespace](/azure/event-grid/create-view-manage-namespaces#create-a-namespace)
@@ -25,7 +25,7 @@ You can authenticate MQTT clients with OAuth 2.0 JWT to connect to the Event Gri
25
25
You can use the MQTT v5 CONNECT packet to provide the OAuth 2.0 JWT to authenticate your client and the MQTT v5 AUTH packet to refresh the token.
26
26
27
27
> [!NOTE]
28
-
> -Audience: `aud` claim must be set to `https://[namespace].ts.eventgrid.azure.net/`.
28
+
> Audience: `aud` claim must be set to `https://[namespace].ts.eventgrid.azure.net/`.
29
29
30
30
## Access permissions
31
31
A client using OAuth 2.0 JWT authentication can use client attributes and permissions to limit access to specific topics.
0 commit comments