Skip to content

saran-surya/email_auth_node

Repository files navigation

Setting up email_auth for production.

NODE JS plugin for effectively working with email_auth (Flutter)


META DATA Description
Current release version v2
Author Saran Surya

HOT FIXES

  • Only supports OUTLOOK (Out of the BOX), Kindly proceed with an outlook account

  • HTML fixes, Basic style changes
  • Supports OTP length

UPDATES

  • v2

    • An enchanced home page, with a possible integration of admin panel in the future (v2.xx ~ v3)
    • Live log viewer will be integrated when the Admin panel has been integrated
    • Added support for log file implementation, Now all ERRORS / WARNINGS / INFO from server are stored in a log file, that can be retrived.

      • Cleaner console : Enable console logging with the flag npm start --log

DEPRECATED METHODS / OPERATIONS

  • Support for GMAIL has been transffered to OUTLOOK, As Google has removed the access to less secure apps.

    • REFER : #66

    • Expect a patch for choosing between Google and Outlook as an option while configuring the servers using the CLI (v2.xx ~ v3)
  • TEST SERVERS are marked OBSOLETE.

    • REFER : #74

    • Expect them to be up in next version releases (v2.xx ~ v3)

Visit the page here for the detailed steps 📌

Overview summary

  • Create a outlook account
  • Import the repository and mark it private
  • Clone it to your local system
  • Perform npm install
  • Perform npm link (optional not mandatory)
  • Create the configurations npx email-auth-node --generate
  • Create a account on Heroku
  • Create an app on heroku and connect it with the github repo you created
  • Publish the server on heroku
  • Add a auth.config.dart file in the flutter project with the data from the config file of the generated config
  • Work seamlessly with email_auth with your custom production server

If you love the project, Kindly consider starring the repo ⭐

💚 Thankyou.