Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTP via Telegram or WhatsApp #269

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

SerEgoroff
Copy link
Contributor

@SerEgoroff SerEgoroff commented Oct 18, 2024

Backend provides a controller sends OTP codes (from 4 to 8 digits only) via messengers. Telegram and WhatsApp are supported. If they both can't send the OTP to the necessary phone number, SMS will try to be used for sending.

There are new services - general OtpService, which manages gateways, and special TelegramService (interacting with Telegram API) and WhatsAppService (interacting with Telegram API with AuthTempMessages).

New OtpController has lots common code with the MessageController class, so they are refactored and now have common base class.

Copy link
Contributor

deepsource-io bot commented Oct 18, 2024

Here's the code health analysis summary for commits 5f12c9e..afe854c. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C# LogoC#✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@SerEgoroff SerEgoroff changed the title OTP via Telegram OTP via Telegram or WhatsApp Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant