Skip to content

Commit ac23dac

Browse files
Merge pull request #299187 from spelluru/buildupdates0501
Added Webhook auth
2 parents 1465230 + 67cea32 commit ac23dac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/event-grid/mqtt-client-authentication.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: 'Azure Event Grid Namespace MQTT client authentication'
33
description: 'Describes how MQTT clients are authenticated and mTLS connection is established when a client connects to Azure Event Grid’s MQTT broker feature.'
44
ms.topic: concept-article
5-
ms.date: 01/27/2025
5+
ms.date: 05/01/2025
66
author: Connected-Seth
77
ms.author: seshanmugam
88
ms.subservice: mqtt
@@ -15,7 +15,8 @@ Azure Event Grid's MQTT broker supports the following authentication modes.
1515

1616
- Certificate-based authentication
1717
- Microsoft Entra ID authentication
18-
- OAuth 2.0 (JSON Web Token) authentication
18+
- OAuth 2.0 (JSON Web Token) authentication
19+
- Customer Webhook authentication
1920

2021
## Certificate-based authentication
2122
You can use Certificate Authority (CA) signed certificates or self-signed certificates to authenticate clients. For more information, see [MQTT Client authentication using certificates](mqtt-client-certificate-authentication.md).
@@ -26,7 +27,8 @@ You can authenticate MQTT clients with Microsoft Entra JWT to connect to Event G
2627
## OAuth 2.0 JWT authentication
2728
You can authenticate MQTT clients using JSON Web Tokens (JWT) issued by any third-party OpenID Connect (OIDC) identity provider. This authentication method provides a lightweight, secure, and flexible option for MQTT clients that aren't provisioned in Azure. For more information, see [Authenticate client using OAuth 2.0 JWT](mqtt-client-custom-jwt.md).
2829

29-
30+
## Custom Webhook Authentication
31+
Webhook authentication allows external HTTP endpoints (webhooks or functions) to authenticate MQTT connections dynamically. This method uses Entra ID JWT (JSON Web Tokens)  validation to ensure secure access. When a device or client attempts to connect, Event Grid transmits relevant connection details to the configured webhook. The webhook is responsible for evaluating the authentication request and returning a response that determines whether the connection is permitted. Additionally, the webhook can enrich the response with metadata that Event Grid will use to authorize subsequent MQTT packets, ensuring fine-grained control over actions such as topic access and message publishing. This approach enables seamless integration with custom authentication systems, identity providers, and enterprise security policies.
3032

3133
## Related content
3234
- Learn how to [authenticate clients using certificate chain](mqtt-certificate-chain-client-authentication.md)

0 commit comments

Comments
 (0)