{"repo":"wawandco/maildoor","free":true,"listed":false,"github":"https://github.com/wawandco/maildoor","clone":"git clone https://github.com/wawandco/maildoor.git","description":"Email based authentication for Go","language":"Go","stars":17,"topics":["authentication","golang","go","embed","tailwindcss","passwordless","email-based-login","security","awesome-go","smtp"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Maildoor Maildoor is an email based authentication library that allows users to sign up and sign in to your application using their email address. It is a pluggable library that can be used with any go http server. Usage Using maildoor is as simple as creating a new instance of the maildoor.Handler and passing it to your http server. Features - Pluggable http.Handler that can be used with any go http server - Customizable email sending mechanism - Customizable email validation mechanism - Customizable logo - Customizable product name - Custom renderer functions for login and code entry pages Custom Renderers Maildoor now supports custom renderer functions that allow you to completely customize the appearance of the login and code entry pages. You can provide your own HTML templates while still leveraging maildoor's authentication logic. The maildoor.Attempt struct contains: - Logo - URL of the logo image - Icon - URL of the icon image - ProductName - Name of your product - Email - The email address (available in code renderer) - Error - Error message if any validation failed - Code - The verification code (context-dependent) Token Storage Maildoor uses configurable token storage to manage authentication codes. By default, it uses in-memory storage, but you can provide custom implementations for Redis, databases, or other backends. Roadmap - Out of the box time bound token generation - Time based token expiration out the box - Prevend CSRF attacks with token","default_branch":null,"files":null,"tree":[],"storefront":"/r/wawandco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wawandco/maildoor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}