Closed mak448a closed 2 months ago
Help needed. I don't have a phone number.
It seems like other clients just add a token login instead (bypassing 2fa by using existing login). However, I have no idea if it would be hard to add 2fa, but I can't test it without a phone number (or free phone number website that works with Discord)
Maybe implement a way where users are redirected to the Discord page, and from there, they can log in.
Like I said, I can't test it, since I don't have a phone number. If you want to try, go ahead! This is open source after all.
I may be able to borrow a phone though.
but I can't test it without a phone number
At least here, Discord doesn't ask for a phone number just to enable 2FA using Google Authenticator or Authy...
Oh. It seems like you can also use an authenticator app. I will check that out.
Ok, it seems you have two separate methods of 2fa. Totp and Phone number. Totp would be doable, since I do have an authenticator app. But is it worth the hassle, when you can just grab the token from the login box? Is there a way to do a poll on GitHub?
Well, if QTCord asked for the 2FA code it'd be much more user-friendly IMO, but in the end it's your project, and since you would be the one to implement this, only you can know for sure if it's worth it... :p
Is there a way to do a poll on GitHub?
It should be doable through GitHub Discussions, but I think you have to enable it first, or something.
https://github.com/mak448a/QTCord/pull/38 for progress.
Added for TOTP! Open another issue for SMS, if you need it.
2FA isn't an option currently. Vote on implementation here! Workaround: