[GH-ISSUE #434] Add Telegram as a 2FA option at first user login #94

Closed
opened 2026-02-26 05:33:07 +03:00 by kerem · 6 comments
Owner

Originally created by @jofrep on GitHub (Mar 24, 2021).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/434

When 2FA is enforced there is no option for the user to activate the Telegram 2FA at first login.
Other 2FA options like HOTP or Yubikey can be setup by the user during the first login.
Would be good to allow users to add their Telegram User ID

Originally created by @jofrep on GitHub (Mar 24, 2021). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/434 When 2FA is enforced there is no option for the user to activate the Telegram 2FA at first login. Other 2FA options like HOTP or Yubikey can be setup by the user during the first login. Would be good to allow users to add their Telegram User ID
kerem closed this issue 2026-02-26 05:33:08 +03:00
Author
Owner

@ChristophWurst commented on GitHub (Mar 25, 2021):

dup of https://github.com/nextcloud/twofactor_gateway/issues/239

please always search existing tickets before creating new feature requests

<!-- gh-comment-id:806452441 --> @ChristophWurst commented on GitHub (Mar 25, 2021): dup of https://github.com/nextcloud/twofactor_gateway/issues/239 please always search existing tickets before creating new feature requests
Author
Owner

@jofrep commented on GitHub (Mar 25, 2021):

Apologies but although #239 is Open, the functionality is already implemented today but not for Telegram. Shall I open a bug rather than a request for enhancement? Or this is about Telegram although I could find a reference tp it? I don't want to waste your time but to ensure this is properly reported. Thanks

<!-- gh-comment-id:806528010 --> @jofrep commented on GitHub (Mar 25, 2021): Apologies but although #239 is Open, the functionality is already implemented today but not for Telegram. Shall I open a bug rather than a request for enhancement? Or this is about Telegram although I could find a reference tp it? I don't want to waste your time but to ensure this is properly reported. Thanks
Author
Owner

@ChristophWurst commented on GitHub (Mar 25, 2021):

comment it here. I think all the providers lack this support

<!-- gh-comment-id:806530453 --> @ChristophWurst commented on GitHub (Mar 25, 2021): comment it here. I think all the providers lack this support
Author
Owner

@jofrep commented on GitHub (Mar 25, 2021):

No, users can autoprovision TOTP at first login (Two-Factor TOTP Provider 5.0.0.) with 20.0.8. I'm confident Yubikey too but would need to test is again once I upgrade PHP

<!-- gh-comment-id:806533925 --> @jofrep commented on GitHub (Mar 25, 2021): No, users can autoprovision TOTP at first login (Two-Factor TOTP Provider 5.0.0.) with 20.0.8. I'm confident Yubikey too but would need to test is again once I upgrade PHP
Author
Owner

@ChristophWurst commented on GitHub (Mar 25, 2021):

I see. #239 is what you are looking for.

you can trust me, I wrote most of these apps the logic behind them :)

<!-- gh-comment-id:806607774 --> @ChristophWurst commented on GitHub (Mar 25, 2021): I see. #239 is what you are looking for. you can trust me, I wrote most of these apps the logic behind them :)
Author
Owner

@jofrep commented on GitHub (Mar 25, 2021):

I don't doubt it but I'm sure that yesterday I tested how a user could configure the 2FA for TOTP at first login in an instance where 2FA is mandatory. Yubikey was also offered and I did half of the enrolment too (I did not fully test this case). The only 2FA provider that was not offered at first login was the Telegram. SMS/Signal are not configured, only TOTP, Yubikeys and Telegram.

<!-- gh-comment-id:806622217 --> @jofrep commented on GitHub (Mar 25, 2021): I don't doubt it but I'm sure that yesterday I tested how a user could configure the 2FA for TOTP at first login in an instance where 2FA is mandatory. Yubikey was also offered and I did half of the enrolment too (I did not fully test this case). The only 2FA provider that was not offered at first login was the Telegram. SMS/Signal are not configured, only TOTP, Yubikeys and Telegram.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#94
No description provided.