/magic-admin-js

Magic admin Node.js SDK makes it easy to leverage Decentralized ID tokens to protect routes and restricted resources for your application.

Primary LanguageTypeScriptMIT LicenseMIT

Magic Authentication Admin Javascript SDK

<MagicHQ>

The Magic Admin SDK lets developers secure endpoints, manage users, and create middlewares via easy-to-use utilities.

License ยท Changelog ยท Contributing Guide

๐Ÿ“– Documentation

See the developer documentation to learn how you can master the Magic Admin SDK in a matter of minutes.

๐Ÿ”— Installation

Integrating your Node.js application with Magic will require our server-side NPM package:

# Via NPM:
npm install --save @magic-sdk/admin

# Via Yarn:
yarn add @magic-sdk/admin

โšก๏ธ Quick Start

Sign up or log in to the developer dashboard to receive API keys that will allow your application to interact with Magic's administration APIs.

const { Magic } = require('@magic-sdk/admin');

const magic = new Magic('YOUR_SECRET_API_KEY');

// Read the docs to learn about next steps! ๐Ÿš€