All Projects → magiclabs → Magic Js

magiclabs / Magic Js

Licence: mit
Magic browser/React Native JavaScript SDK is your entry-point to integrating passwordless authentication inside your application.

Programming Languages

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

Projects that are alternatives of or similar to Magic Js

Blazorwithidentity
A project template for a blazor hosted app using cookie based authentication with ef core identity.
Stars: ✭ 242 (+69.23%)
Mutual labels:  authentication, identity
Product Is
Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
Stars: ✭ 435 (+204.2%)
Mutual labels:  authentication, identity
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 (-56.64%)
Mutual labels:  identity, jamstack
Security
🔑 Provides authentication, authorization and a role-based access control management via ACL (Access Control List)
Stars: ✭ 180 (+25.87%)
Mutual labels:  authentication, identity
Aspnet5identityserverangularimplicitflow
OpenID Connect Code / Implicit Flow with Angular and ASP.NET Core 5 IdentityServer4
Stars: ✭ 670 (+368.53%)
Mutual labels:  authentication, identity
Stormpath Sdk Java
Official Java SDK for the Stormpath User Management REST API
Stars: ✭ 221 (+54.55%)
Mutual labels:  authentication, identity
Ockam
End-to-end encrypted messaging and mutual authentication between cloud and edge-device applications
Stars: ✭ 395 (+176.22%)
Mutual labels:  authentication, identity
Oauthlib
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Stars: ✭ 2,323 (+1524.48%)
Mutual labels:  authentication, identity
Angular Auth Oidc Client
npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
Stars: ✭ 577 (+303.5%)
Mutual labels:  authentication, identity
Doorkeeper
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
Stars: ✭ 4,917 (+3338.46%)
Mutual labels:  authentication, identity
Security.identity
.NET DevPack Identity is a set of common implementations to help you implementing Identity, Jwt, claims validation and another facilities
Stars: ✭ 165 (+15.38%)
Mutual labels:  authentication, identity
Eid Mw
eID Middleware (main repository)
Stars: ✭ 137 (-4.2%)
Mutual labels:  authentication, identity
Django Oidc Provider
OpenID Connect and OAuth2 provider implementation for Djangonauts.
Stars: ✭ 320 (+123.78%)
Mutual labels:  authentication, identity
Spring Boot Security Saml Sample
SBS3 — A sample SAML 2.0 Service Provider built on Spring Boot.
Stars: ✭ 469 (+227.97%)
Mutual labels:  authentication, identity
Cierge
🗝️ Passwordless OIDC authentication done right
Stars: ✭ 1,245 (+770.63%)
Mutual labels:  authentication, identity
Gotrue
An SWT based API for managing users and issuing SWT tokens
Stars: ✭ 2,493 (+1643.36%)
Mutual labels:  authentication, jamstack
Uport Credentials
Library for integrating uPort into node server side applications
Stars: ✭ 140 (-2.1%)
Mutual labels:  identity
Globalprotect Openconnect
A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode.
Stars: ✭ 143 (+0%)
Mutual labels:  authentication
Soter
A secure and quick biometric authentication standard and platform in Android held by Tencent.
Stars: ✭ 1,777 (+1142.66%)
Mutual labels:  authentication
Pwa Auth
Web component that lets your users sign-in/sign-up using their Microsoft, Google, Facebook, or Apple account. Your app receives their email address, name, and profile picture.
Stars: ✭ 139 (-2.8%)
Mutual labels:  authentication

✨ Magic Authentication JavaScript SDK

<MagicLabs>

Magic empowers developers to protect their users via an innovative, passwordless authentication flow without the UX compromises that burden traditional OAuth implementations.

License · Changelog · Contributing Guide

📖 Documentation

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

⚡️ Quick Start

Installation

Integrating your app with Magic will require our client-side NPM package:

# Via NPM:
npm install --save magic-sdk # If you're targeting web browsers
npm install --save @magic-sdk/react-native # If you're targeting React Native

# Via Yarn:
yarn add magic-sdk # If you're targeting web browsers
yarn add @magic-sdk/react-native # If you're targeting React Native

Alternatively, you can load via CDN with by adding a script tag to your app’s <head>:

<script src="https://cdn.jsdelivr.net/npm/magic-sdk/dist/magic.js"></script>

Usage

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

Then, you can start authenticating users with just one method! Magic works across all modern desktop, mobile Chrome, Safari and Firefox browsers.

import { Magic } from 'magic-sdk';

const magic = new Magic('YOUR_API_KEY');

await magic.auth.loginWithMagicLink({ email: '[email protected]' });

📦 Package Ecosystem

Entry points

These are packages you can install to enable Magic JS SDK functionality for your client-side application.

Package directory Package Name Changelog Description
/web magic-sdk CHANGELOG Web/browser entry-point for Magic SDK.
/react-native @magic-sdk/react-native CHANGELOG React Native entry-point for Magic SDK.

Internals

These are packages Magic JS SDK uses internally to work seamlessly across platforms.

Package directory Package Name Changelog Description
/types @magic-sdk/types CHANGELOG Core typings shared between JavaScript entry-points of Magic SDK.
/provider @magic-sdk/provider CHANGELOG Core business logic shared between JavaScript entry-points of Magic SDK.
/commons @magic-sdk/commons CHANGELOG Exposes a listing of common public APIs from @magic-sdk/provider and @magic-sdk/typings to the platform-specific entry points.

🚦 Testing

Run tests for all packages

yarn test

Test an individual package

PKG=magic-sdk yarn test
PKG=@magic-sdk/react-native yarn test

Test specific files

yarn test /test/**/constructor.spec.ts
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].