New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

authmagic-email-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authmagic-email-plugin

  • 0.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by350%
Maintainers
1
Weekly downloads
 
Created
Source

authmagic-email-plugin

Plugin for authmagic to send authorization links on email. It works with authmagic-timerange-stateless-core.

Params:

isTest - boolean flag that shows if plugin is executing in the test mode. If so then email will not be sent, but you could see the email in the console

mailer - object for configuring nodemailer

from - name of the sender

subject - subject of the email

Installation

Check authmagic-cli.

authmagic install authmagic-email-plugin

How to edit template

In your folder with authentication service find static/authmagic-email-plugin folder. There you will see 2 files: template.html and nohtml-template.html. nunjucks is used as templating engine.

To check the identity of the user it is possible to send to his email, phone or any other resource he owns an authorization link. By clicking on that link user identifies himself as an owner of the resource. You can see many apps who suggest this option, for example medium.com and auth0.com.

How it looks in the real world:

Licence

authmagic-email-plugin is MIT licensed.

Keywords

FAQs

Package last updated on 25 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc