Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Social Sign-In #56

Open
ChrisFarmer-dev opened this issue Jul 14, 2022 · 4 comments
Open

Social Sign-In #56

ChrisFarmer-dev opened this issue Jul 14, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@ChrisFarmer-dev
Copy link

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.

@mkorthof
Copy link
Owner

mkorthof commented Aug 5, 2022

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 mkorthof added the enhancement New feature or request label Aug 5, 2022
@ChrisFarmer-dev
Copy link
Author

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 -> 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 a@gmail.com. I changed it to b@gmail.com and then changed it back to a@gmail.com, 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 🙏

@mkorthof
Copy link
Owner

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

@ChrisFarmer-dev
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants