LogoLogo
Join our community
  • AdminJS
  • Contribute
  • Demo
  • Addons Marketplace
  • Installation
    • Getting started
    • Plugins
      • Adonis
      • Express
      • Nest
      • Fastify
      • Hapi
      • Koa
      • Community Plugins
        • FeathersJS
        • AdonisJS
      • Matrix
    • Adapters
      • TypeORM
      • Sequelize
      • Prisma
      • MikroORM
      • Objection
      • SQL
      • Mongoose
      • Community Adapters
        • AdonisJS
    • What's new in v7?
    • Migration Guide v7
  • Basics
    • Resource
    • Action
    • Property
    • Features
      • Relations
      • Upload
      • Logger
      • Import & Export
      • Password
      • Leaflet Maps
      • Writing your own features
    • API
      • List
      • New
      • Search
      • Show
      • Edit
      • Delete
      • Bulk Delete
    • Themes
    • Authentication
      • FirebaseAuthProvider
      • MatrixAuthProvider
  • How to write an addon?
  • UI Customization
    • Writing your own Components
    • Overwriting CSS styles
    • Dashboard customization
    • Changing the form view
    • Storybook
  • Tutorials
    • Role-Based Access Control
    • Internationalization (i18n)
    • Content Management System
    • Custom components library
    • Custom component internationalization
  • FAQ
    • PDF Generator
    • Charts
    • Forgot Password
  • ⚠️Legacy documentation
Powered by GitBook
On this page
  • Authentication - Matrix User Authentication
  • Matrix User Authentication
  • Related
  1. Basics
  2. Authentication

MatrixAuthProvider

Matrix User Authentication for the @adminjs/matrix plugin.

PreviousFirebaseAuthProviderNextHow to write an addon?

Last updated 29 days ago

Authentication - Matrix User Authentication


Matrix User Authentication

Authenticate users directly against your Matrix server using the MatrixAuthProvider.

Setup Example

import { MatrixAuthProvider } from '@adminjs/matrix';
import componentLoader from './component-loader.js';

const provider = new MatrixAuthProvider({
  baseUrl: process.env.MATRIX_BASE_URL,
  componentLoader,
});

export default provider;

Notes

  • Users will be authenticated directly with their Matrix username and password.

  • This method does not use a shared token – authentication is user-specific.

  • You must configure the MATRIX_BASE_URL environment variable correctly for your Matrix server.


Related

➡️ Plugin - @adminjs/matrix
Plugin Setup - @adminjs/matrix