[PR #3195] feat: add otp login #3127

Open
opened 2026-10-15 04:07:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3195
Author: @NickVs2015
Created: 9/22/2026
Status: 🔄 Open

Base: dev ← Head: feat/otp-login


📝 Commits (10+)

  • 9fbd35b feat: add otp login
  • 0e61ef4 fix: align otp login with gateway api
  • 3c96e39 chore: add otp status logging
  • bac31c7 fix: otp status consumed value
  • 819f517 chore: drop per-poll otp status log
  • af28f03 feat: otp login dialog with error states
  • 01721aa fix: port otp login dialog to new design system
  • 2b59de5 fix: otp login error classification after libagw migration
  • d10d8f9 chore: move otp login entry to top of server info list
  • d43f6e9 chore: align otp login strings with design

📊 Changes

15 files changed (+815 additions, -3 deletions)

View changed files

📝 client/core/controllers/api/storePurchaseController.cpp (+58 -0)
📝 client/core/controllers/api/storePurchaseController.h (+2 -0)
📝 client/core/controllers/api/subscriptionController.cpp (+116 -0)
📝 client/core/controllers/api/subscriptionController.h (+26 -0)
📝 client/core/utils/constants/apiKeys.h (+3 -0)
📝 client/core/utils/errorCodes.h (+1 -0)
📝 client/core/utils/errorStrings.cpp (+1 -0)
📝 client/platforms/ios/StoreKit2Helper.swift (+5 -2)
📝 client/platforms/ios/ios_controller.mm (+1 -1)
📝 client/translations/amneziavpn_ru_RU.ts (+107 -0)
📝 client/ui/controllers/api/subscriptionUiController.cpp (+88 -0)
📝 client/ui/controllers/api/subscriptionUiController.h (+13 -0)
➕ client/ui/qml/Components/OtpLoginDialog.qml (+371 -0)
📝 client/ui/qml/Pages2/PageSettingsApiServerInfo.qml (+22 -0)
📝 client/ui/qml/qml.qrc (+1 -0)

📄 Description

add otp authorisation


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/3195 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 9/22/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/otp-login` --- ### 📝 Commits (10+) - [`9fbd35b`](https://github.com/amnezia-vpn/amnezia-client/commit/9fbd35b3f16f465e90fde2801a7f80a2ca9337ad) feat: add otp login - [`0e61ef4`](https://github.com/amnezia-vpn/amnezia-client/commit/0e61ef4e463e3d23bf299933a9841458b23558dc) fix: align otp login with gateway api - [`3c96e39`](https://github.com/amnezia-vpn/amnezia-client/commit/3c96e399f7fa23e8cf4f54ba81d400fdaab4999e) chore: add otp status logging - [`bac31c7`](https://github.com/amnezia-vpn/amnezia-client/commit/bac31c7c8956f003a63519a9ec0aed2d0dc1a19a) fix: otp status consumed value - [`819f517`](https://github.com/amnezia-vpn/amnezia-client/commit/819f517b1a91542ca805be5994426717017d760b) chore: drop per-poll otp status log - [`af28f03`](https://github.com/amnezia-vpn/amnezia-client/commit/af28f03bd1269b25949a25683fb66c9ce65036c8) feat: otp login dialog with error states - [`01721aa`](https://github.com/amnezia-vpn/amnezia-client/commit/01721aa7c62dc8f98ae80f483dad9c1fec95a5fb) fix: port otp login dialog to new design system - [`2b59de5`](https://github.com/amnezia-vpn/amnezia-client/commit/2b59de5d30a78695d5ac04716bc2356256888d9e) fix: otp login error classification after libagw migration - [`d10d8f9`](https://github.com/amnezia-vpn/amnezia-client/commit/d10d8f93d2fac3c0f7491be8e94298567818b1e1) chore: move otp login entry to top of server info list - [`d43f6e9`](https://github.com/amnezia-vpn/amnezia-client/commit/d43f6e9184adfc274c4fd9974227818b0f2156a8) chore: align otp login strings with design ### 📊 Changes **15 files changed** (+815 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/core/controllers/api/storePurchaseController.cpp` (+58 -0) 📝 `client/core/controllers/api/storePurchaseController.h` (+2 -0) 📝 `client/core/controllers/api/subscriptionController.cpp` (+116 -0) 📝 `client/core/controllers/api/subscriptionController.h` (+26 -0) 📝 `client/core/utils/constants/apiKeys.h` (+3 -0) 📝 `client/core/utils/errorCodes.h` (+1 -0) 📝 `client/core/utils/errorStrings.cpp` (+1 -0) 📝 `client/platforms/ios/StoreKit2Helper.swift` (+5 -2) 📝 `client/platforms/ios/ios_controller.mm` (+1 -1) 📝 `client/translations/amneziavpn_ru_RU.ts` (+107 -0) 📝 `client/ui/controllers/api/subscriptionUiController.cpp` (+88 -0) 📝 `client/ui/controllers/api/subscriptionUiController.h` (+13 -0) ➕ `client/ui/qml/Components/OtpLoginDialog.qml` (+371 -0) 📝 `client/ui/qml/Pages2/PageSettingsApiServerInfo.qml` (+22 -0) 📝 `client/ui/qml/qml.qrc` (+1 -0) </details> ### 📄 Description add otp authorisation --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amnezia-client#3127
No description provided.