Version 0.17 is rolling out! 🎉 - Only the TypeScript SDK is supported at this time. Other SDKs will be updated soon.
Colyseusv0.17
DocumentationRoadmapSponsors
GitHubGitHubDiscordDiscord
  • Overview
  • Introduction
  • Getting Started
    • TypeScript TypeScript
    • JavaScript JavaScript
    • React React
    • Unity Unity
    • Defold Engine Defold
    • Construct 3 Construct 3
    • Cocos Creator Cocos Creator
    • Haxe Haxe
    • Discord Discord Activity
    • WeChat WeChat
  • Tutorials
    • BabylonJS
    • Phaser
      • 1: Basic Player Movement
      • 2: Linear Interpolation
      • 3: Client Predicted Input
      • 4: Fixed Tickrate
    • PlayCanvas
  • API Reference
  • Client SDK
    • State Sync Callbacks
      • React
      • Advanced: Implement Your Own Callback System
  • Server
    • HTTP Routes
    • Presence
    • Driver
    • Transport
      • WebSocket (Default)
      • uWebSockets.js
      • WebTransport
      • Bun WebSockets
    • Development Mode
    • Debugging
    • Graceful Shutdown
    • Logging
  • Rooms
    • Message Composability
    • Timing Events
    • Exception Handling
    • Built-In Rooms
      • Lobby Room
      • Queue Room
      • Relay Room
  • State Synchronization
    • Schema Definition
    • State View
    • Advanced Usage
  • Matchmaker API
  • Authentication
    • Room Authentication
    • HTTP Middleware
    • Auth Module
  • Tools
  • Built-in Tools
    • Playground
    • Monitoring Panel
    • Load testing
    • Unit Testing
  • Payments
    • Xsolla Xsolla
  • Database
  • 3rd Party Packages
  • Infrastructure
  • Deployment
  • Scalability
    • Traefik
  • Colyseus Cloud
    • Compute Plans
    • Private NPM Registry
    • Continuous Deployment
    • DDoS Protection
    • Environment Variables and Secrets
    • "Deploy failed" errors
    • TypeScript/Compilation errors
    • Pricing & Billing
  • More
  • Best Practices
    • Command Pattern
  • Recipes
    • Custom Room ID
    • Deny a Player Joining a Room
    • Password Protect Room
    • Setup Server from Scratch with TypeScript
  • Example Projects
    • Defold Engine
    • Discord Activity
    • KAPLAY
    • PixiJS
      • MMO Demo
      • Shooting Gallery Demo
      • Starboss Demo
      • Turn Based Tanks Demo
      • MMO Demo
      • Hide and Seek Tech Demo
    • Decentraland
  • Extra
  • Community
    • 0.17
    • 0.16
    • 0.15
  • FAQ

Question? Give us feedback →Edit this page
Sponsors
Authentication

Authentication

Authentication is the process of verifying the identity of a user. Colyseus provides built-in tools to help you authenticate your clients into your application.

You may bring your own token validation logic, or use Auth Module to manage the authentication flow.

Room onAuthHTTP MiddlewareAuth Module
Matchmaker APIRoom Authentication

2026 © Endel Dreyer