Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling 2FA for Email Notifications in RDS and environment variables to the staging and prod environment #2210

Open
6 of 10 tasks
tejaskh3 opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@tejaskh3
Copy link
Member

tejaskh3 commented Oct 9, 2024

Issue Description

The issue is about enabling Two-Factor Authentication (2FA) for sending email notifications in the RDS system and generating a standardized message format for emails. The main purpose is to secure email notifications and ensure all messages follow a consistent format.

Expected Behavior

  • Email notifications should be sent securely using 2FA.
  • Message formats should be consistent across all notifications.
  • Collaboration with Ankush and Prakash to add the email, app password, host, port in the staging and prod environment.

Current Behavior

  • No such thing exists
  • The message format is not standardized and needs to be generated, as we just need to send the hello message.

Steps to generate app password

Firstly, please create a dummy email address for staging. then follow these steps

  1. Enable 2FA Link to enable this
  2. Create an app password on clicking this link
  • Login to the email
  • Generate the app password
  • Store the password generated
  1. And finally paste all these to the staging and prod environment
  • this the details we need to add.
   email: "RDS_EMAIL",
   password: "RDS_EMAIL_PASSWORD",
   host: "SMTP_HOST",
   port: {
     __name: "SMTP_PORT",
     __format: "number",
   },
 },

Environment variable names

  1. RDS_EMAIL : will the email id
  2. RDS_EMAIL_PASSWORD : will be the password generated by following steps motioned above.
  3. SMTP_HOST : as we are using nodemailer we would need a stmp host to make it work. If you are using gmail feel free to add smtp.gmail.com
  4. SMTP_PORT: a port number, typically 587

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
@tejaskh3 tejaskh3 changed the title Enabling 2FA for Email Notifications in RDS and finalizing message format. Enabling 2FA for Email Notifications in RDS and environment variables to the staging and prod environment Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants