---
title: "Deploy Mosquitto Broker - JWT Auth"
description: "MQTT message broker with JWT authentication and authorization"
category: "Queues"
url: https://railway.com/deploy/mosquitto-broker-jwt-auth
---

# Deploy Mosquitto Broker - JWT Auth

MQTT message broker with JWT authentication and authorization

**[Deploy Mosquitto Broker - JWT Auth on Railway](https://railway.com/template/mosquitto-broker-jwt-auth)**

- **Creator:** ⓁⓅ's Projects
- **Category:** Queues

## Template content

### MQTT Broker with JWT https://github.com/Lima-e-Silva/mosquitto-jwt/blob/a144d184637be552fa8a73c566d88642954e2590/static/icon.png?raw=true

- **Source:** Lima-e-Silva/mosquitto-jwt
- **Public domain:** Yes

## Documentation

# Deploy and Host Mosquitto Broker with JWT Auth on Railway
This project provides a **lightweight** configuration for the Mosquitto MQTT broker with **JSON Web Tokens (JWT) authentication and authorization**.

## About Hosting Mosquitto Broker with JWT Auth

This template provides a straightforward setup for Eclipse Mosquitto with JWT Auth plugin

## Common Use Cases

MQTT is the most commonly used messaging protocol for the Internet of Things (IoT). MQTT stands for MQ Telemetry Transport. The protocol is a set of rules that defines how IoT devices can publish and subscribe to data over the Internet.

## Dependencies for Mosquitto Broker with JWT Auth Hosting

No external dependencies

### Deployment Dependencies

- [Official Eclipse Mosquitto Docker Image](https://hub.docker.com/_/eclipse-mosquitto)
- [Mosquitto JWT Auth Plugin](https://github.com/wiomoc/mosquitto-jwt-auth)

## Why Deploy Mosquitto Broker with JWT Auth on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Mosquitto Broker with JWT Auth on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [smoothmq](https://railway.com/deploy/AJv-64) — A drop-in replacement for AWS SQS
- [Kafka UI](https://railway.com/deploy/kafka-ui) — Kafbat UI — Open-source web UI to monitor and manage Apache Kafka clusters
- [Hatchet Lite](https://railway.com/deploy/hatchet-lite) — Hatchet Lite with postgres

Open this page in a browser: https://railway.com/deploy/mosquitto-broker-jwt-auth
