GitShow/mxstbr/passport-magic-login
mxstbr

passport-magic-login

Passwordless authentication with magic links for Passport.js.

by mxstbr
authenticationexpressmagiclinkpassport
Star on GitHubForknpm

TypeScript

676 stars41 forks12 contributorsQuiet · 3mo agoSince 2021MIT

Meet the team

See all 12 on GitHub →
mxstbr
mxstbr62 contributions
eric-burel
eric-burel3 contributions
tmkn
tmkn3 contributions
maraisr
maraisr2 contributions
andyrichardson
andyrichardson1 contribution
JackCA
JackCA1 contribution
lauridskern
lauridskern1 contribution
marcusvmsa
marcusvmsa1 contribution

Languages

View on GitHub →
TypeScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 16 discussions · Last activity 3mo ago
See all on GitHub →
oliveflow
How can I edit email templateOpenIssue

I want to customize the email sent to the user.

oliveflow · 1y ago
vasteez
Is there a method to limit reusability of the callback url?OpenIssue

It's probably unsafe to let the link be used multiple times. Can we limit it to once per link?

vasteez · 1y ago
neilrackett
Send magic link without API call?OpenIssue

Thank you for your great work on this strategy! Is there an existing way to send or generate a magic link using just JavaScript, without needing to do it via a POST/GET call (which the current method is specifically designed to do)? It would be great to be able to send or generate magic links from within a custom API endpoint, for example: to send an email notification to a user telling them that a document is available that included a magic link that takes them straight to it; _or_ to generate a magic link URL to be used elsewhere

neilrackett · 1y ago

Recent fixes

View closed PRs →
emirefek
Troubles with NestJS 11ClosedIssue

!Image 'extends' clause of exported class 'MagicLoginStrategy' has or is using private name 'Options'.ts(4020) Any idea what causes this? Didn't found anything online except this: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70344

emirefek · 9mo ago
tobinbc
satisfy exportable optionsMergedPR

Typescript complains when using this with Passport. Exporting unprivatises it and TS is happy.

tobinbc · 9mo ago
neilrackett
magicLogin.create() enables creation of magic links using code instead of APIMergedPR

This pull request resolves issue #35 by adding a new method to the class that enables developers to generate magic links in code rather than having to call an API endpoint. This method can be called with either a string or object parameter, depending how much you would like to store in the related JWT token, for example In addition, this pull request resolves a number of build issues caused by the outdated dependency, which has been replaced with the more up-to-date fork.

neilrackett · 1y ago
Structured data for AI agents

Repository: mxstbr/passport-magic-login. Description: Passwordless authentication with magic links for Passport.js. Stars: 676, Forks: 41. Primary language: TypeScript. Languages: TypeScript (100%). License: MIT. Topics: authentication, express, magiclink, passport. Open PRs: 0, open issues: 16. Last activity: 3mo ago. Community health: 42%. Top contributors: mxstbr, eric-burel, tmkn, maraisr, andyrichardson, JackCA, lauridskern, marcusvmsa, ramrami, rfbowen and others.

·@ofershap

Replace github.com with gitshow.dev