All Projects → magiclabs → passport-magic

magiclabs / passport-magic

Licence: MIT license
Magic is a Passport.js strategy that enables passwordless authentication middleware for any Express.js based application.

Programming Languages

typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to passport-magic

express-mvc
A light-weight mvc pattern for express framework with minimum dependencies
Stars: ✭ 23 (-34.29%)
Mutual labels:  expressjs, passportjs
Mern Stack Authentication
Secure MERN Stack CRUD Web Application using Passport.js Authentication
Stars: ✭ 60 (+71.43%)
Mutual labels:  expressjs, passportjs
node-express-mongo-passport-jwt-typescript
A Node.js back end web application with REST API, user JWT authentication and MongoDB data storage using TypeScript
Stars: ✭ 51 (+45.71%)
Mutual labels:  expressjs, passportjs
mini-express-boilerplate
A minimal Express boilerplate with passport user authentication, mongoose and some security setup configured
Stars: ✭ 15 (-57.14%)
Mutual labels:  expressjs, passportjs
privx-on-aws
PrivX - Just-in-time Access Management
Stars: ✭ 18 (-48.57%)
Mutual labels:  identity, passwordless
typescript-express-passportjs
ExpressJs project uses TypeScript, PassportJS, Moongose, Continuous Integration (CircleCI.io) and Code Coverage (CodeCov.io)
Stars: ✭ 14 (-60%)
Mutual labels:  expressjs, passportjs
Reforum
A minimal forum board application. Built on top of React-Redux frontend, ExpressJS-NodeJS backend (with PassportJS for OAuth) and MongoDB databse.
Stars: ✭ 714 (+1940%)
Mutual labels:  expressjs, passportjs
Attendance-Portal
We have developed a cutting-edge attendance recorder. Using face recognition, you can easily record attendance and have access to in-depth analysis and a wide range of functionalities. Because of the covid-19 pandemic, stringent guidelines have been established, and precautions must be made to minimise unnecessary physical encounters. As a resul…
Stars: ✭ 20 (-42.86%)
Mutual labels:  expressjs, passportjs
MovieGo
A Website implemented using MERN (MongoDB, ExpressJS, ReactJS and NodeJS) stack, which allows users to sign-in/register and book movie tickets online.
Stars: ✭ 26 (-25.71%)
Mutual labels:  expressjs, passportjs
Perk
A well documented set of tools for building node web applications.
Stars: ✭ 177 (+405.71%)
Mutual labels:  expressjs, passportjs
todo-list
A practical web application built with Node.js, Express, and MySQL for you to readily record, view, and manage your tasks with an account: Create, view, edit, delete, filter, and sort expenses are as easy as pie 🥧
Stars: ✭ 18 (-48.57%)
Mutual labels:  expressjs, passportjs
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.
Stars: ✭ 62 (+77.14%)
Mutual labels:  identity, passwordless
passport-examples
A variety of examples using PassportJS with ExpressJS and ReactJS applications
Stars: ✭ 44 (+25.71%)
Mutual labels:  expressjs, passportjs
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+317.14%)
Mutual labels:  expressjs, passportjs
logto
🧑‍🚀 Logto helps you build the sign-in, auth, and user identity within minutes. We provide an OIDC-based identity service and the end-user experience with username, phone number, email, and social sign-in, with extendable multi-language support.
Stars: ✭ 3,421 (+9674.29%)
Mutual labels:  identity, passwordless
magic-admin-python
Magic admin Python SDK makes it easy to leverage Decentralized ID tokens to protect routes and restricted resources for your application.
Stars: ✭ 20 (-42.86%)
Mutual labels:  identity, passwordless
pothole detection
By using this app users can report the potholes on road by clicking a photo via our app and if a pothole is detected by Machine Learning modal then it is saved to our Database from where officials can view the specifics like location,reported by and official can resolve the request.User are notified by email for every update regarding their request
Stars: ✭ 17 (-51.43%)
Mutual labels:  expressjs
express-mvc-pattern
Example nodejs using express implementation design pattern using mvc architecture.
Stars: ✭ 52 (+48.57%)
Mutual labels:  expressjs
fotongo
Simple boilerplate for building Backend services like ExpressJS with GOFIBER ⚡️
Stars: ✭ 29 (-17.14%)
Mutual labels:  expressjs
nestjs-session
Idiomatic Session Module for NestJS. Built on top of `express-session` 😎
Stars: ✭ 150 (+328.57%)
Mutual labels:  expressjs

Magic Authentication For Passport JS

MagicLabs

Integrate Magic passwordless authentication with your Passport.js application.

License · Changelog · Contributing Guide

📖 Documentation

See the developer documentation to learn how you can integrate Magic into your Passport.js application in a matter of minutes.

🔗 Installation

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

# Via NPM:
npm install --save passport-magic

# Via Yarn:
yarn add passport-magic

⚡️ Quick Start

const passport = require("passport");
const MagicStrategy = require("passport-magic").Strategy;

const strategy = new MagicStrategy(async function(user, done) {
  const userMetadata = await magic.users.getMetadataByIssuer(user.issuer);
  const existingUser = await users.findOne({ issuer: user.issuer });
  if (!existingUser) {
    /* Create new user if doesn't exist */
    return signup(user, userMetadata, done);
  } else {
    /* Login user if otherwise */
    return login(user, done);
  }
});

passport.use(strategy);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].