Sign in

Overview

Protect Fastify APIs with MonoCloud access token validation.

Use it to:

  • Validate JWT and opaque access tokens
  • Protect API routes globally or individually
  • Enforce scope and group-based authorization
  • Validate mTLS certificate-bound tokens

Install the SDK

Install the SDK using your package manager:

Terminal
npm install @monocloud/backend-node

View the source on GitHub: monocloud/auth-js

Get started quickly

Start with the quickstart to see MonoCloud in action:

The quickstart walks you from a new Fastify app to a protected Fastify API.

Before you continue

To integrate MonoCloud into your own app:

  1. Follow the installation and configuration guide.
  2. Use the guides below to secure different parts of your API.

Guides

API Reference

View all exported APIs, types, and interfaces:

© 2024 MonoCloud. All rights reserved.