[MokoJoomSocialLogin] feat(telegram): add email collection fallback #8

Open
opened 2026-06-02 19:31:33 +00:00 by jmiller · 1 comment
Owner

Migrated from MokoJoomSocialLogin#8

Summary

Prompt the user for their email address on first Telegram login, since Telegram does not provide email via the Login Widget.

Details

  • Telegram auth payload contains id, name, username, avatar but no email
  • On first login, if no existing Joomla user can be matched, redirect to a form requesting email
  • Validate the email, check for existing Joomla user, then link or create account
  • Skip the prompt on subsequent logins (account is already linked)

Acceptance Criteria

  • Email collection form displayed on first Telegram login
  • Email validated and duplicate-checked against existing users
  • Linked account works without prompt on subsequent logins
  • Admin option to require email verification before account creation
> Migrated from MokoJoomSocialLogin#8 ## Summary Prompt the user for their email address on first Telegram login, since Telegram does not provide email via the Login Widget. ## Details - Telegram auth payload contains id, name, username, avatar but no email - On first login, if no existing Joomla user can be matched, redirect to a form requesting email - Validate the email, check for existing Joomla user, then link or create account - Skip the prompt on subsequent logins (account is already linked) ## Acceptance Criteria - [ ] Email collection form displayed on first Telegram login - [ ] Email validated and duplicate-checked against existing users - [ ] Linked account works without prompt on subsequent logins - [ ] Admin option to require email verification before account creation
jmiller added the enhancementsocial-login labels 2026-06-02 19:52:05 +00:00
Author
Owner

Built: Telegram email fallback — stores pending auth in session, signals needs_email.

Built: Telegram email fallback — stores pending auth in session, signals needs_email.
jmiller added the pending: testing label 2026-06-02 20:44:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCommunity#8