alash3al / mailux

Experimental Passwordless Login even without sending emails/sms to users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MaiLux

Mailux is a microservice designed to recieve mails on temporarily inboxes so the user can send emails from his mail to the temp-email we generated before, so you as a developer can login him without password!

Flow

  • You request the /mailbox/generate/<email@address.here>.
  • The user send an email to the mailbox generated by the above step.
  • You hit the /mailbox/info/<mailboxID> each X of time (from the browser).
  • if the above step returned that it has been received, just send a request to the backend to hit the above endpoint again just as a confirmation, after that you respond to the browser with a token/session.

Installation

  • go get github.com/alash3al/mailux
  • or wget -O mailux https://raw.githubusercontent.com/alash3al/mailux/master/download.sh
  • or by downloading the binary from here

Help

# have fun with this!
$ mailux --help

Credits

Mohamed Al Ashaal

About

Experimental Passwordless Login even without sending emails/sms to users


Languages

Language:Shell 68.4%Language:Go 31.6%