freenom-script icon indicating copy to clipboard operation
freenom-script copied to clipboard

Social Sign-In

Open ChrisFarmer-dev opened this issue 3 years ago • 4 comments

I use Freenom and have registered domains using the Social Sign-In. I did face some errors which I could solve myself. For example my password contained a special character in the start so I used ' ' quotes instead of " " but now I am facing this issue. I have added the email and password in the freenom.config file and it gives me the following output.

$ sudo freenom.sh -l
Warning: no MTA found, cant send email

Listing Domains and ID's...

Error: Login failed, incorrect details

I am not sure if this error is happening because I use a Social Sign-In account or because I did something wrong could someone please help me.

ChrisFarmer-dev avatar Jul 14 '22 18:07 ChrisFarmer-dev

I don't think freenom offered a Google Sign-In option when I created this script. This won't work as the script logs in to my.freenom.com with a freenom account and has no support for Google's OAuth flow.

mkorthof avatar Aug 05 '22 14:08 mkorthof

Hey 👋 Thank for responding. Just an update I figured out how to do it. As you said, there is no way to use it if you log in with a third-party account like Google or Facebook. However, you can use freenom-script indirectly. The solution is to change/bind the mail in the “My Details” page, which you can get to by clicking on Hello <First Name> -> Edit Account Details and changing your Gmail to another mail. (I have not tried any other service or temp mail service. I changed my Gmail with another and then changed it back and created/changed my password by logging out, clicking on “Request a password reset,” and changing my password. For example, my Gmail is [email protected]. I changed it to [email protected] and then changed it back to [email protected], then logged out and clicked on “Request a password reset,” which I used to set a password). The method in steps

  1. Click on Hello <Username>, you will see a drop down menu like so Menu
  2. Click on “Edit Account Details,” and then under “Email Address,” you should see your Gmail. Email Address
  3. Change the email address to another (G)mail and click “Save Changes.” Change Email Address and Save Changes You will get a mail from freenom telling you to verify the Email Address. Verify Email
  4. After confirming your Email Address, you must log out and click “Request a password reset.” (Do note that they might be a better way of changing the password, I am not sure, but this is how I did it.) Click on the Request a password reset
  5. You will get a mail at the new email address you put in, prompting you to change the password. Change/Create a new password. Reset your password email
  6. [OPTIONAL] You can return to “My Details” and change it to the original Gmail address.

I later figured out a better method how to bind the same Gmail account using fewer steps.

  1. If you are logged in, you must log out and click “Request a password reset.” Click on the Request a password reset
  2. You will get a mail at the new email address you put in, prompting you to change the password. Change/Create a new password. Reset your password email The above methods will help you log in normally (email+password) and even through social sign-in Gmail without problems ensuring that you use Freenom-Script. I request you to mention this method in the README.md file for ease.

I wrote both methods if someone cannot get one way to work.

Also if you do add Google's OAuth flow do let me know, it would be an amazing feature. Thank you so much 🙏

ChrisFarmer-dev avatar Aug 10 '22 20:08 ChrisFarmer-dev

Thanks for the write up about how you managed to make the script work for you. I've added a note about Social Login to README.md

mkorthof avatar Aug 22 '22 17:08 mkorthof

Ay welcome 🫂 and Thank you for making such an amazing repo 🙏

ChrisFarmer-dev avatar Sep 02 '22 19:09 ChrisFarmer-dev