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

Open
opened 2026-10-14 21:07:40 +00: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 (5)

  • 4393554 feat: add otp login
  • 56db526 fix: align otp login with gateway api
  • 2a385e9 chore: add otp status logging
  • e84f509 fix: otp status consumed value
  • 8acf7c2 chore: drop per-poll otp status log

📊 Changes

16 files changed (+529 additions, -5 deletions)

View changed files

📝 CMakeLists.txt (+2 -2)
📝 client/core/controllers/api/storePurchaseController.cpp (+58 -0)
📝 client/core/controllers/api/storePurchaseController.h (+2 -0)
📝 client/core/controllers/api/subscriptionController.cpp (+82 -0)
📝 client/core/controllers/api/subscriptionController.h (+16 -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 (+39 -0)
📝 client/ui/controllers/api/subscriptionUiController.cpp (+66 -0)
📝 client/ui/controllers/api/subscriptionUiController.h (+9 -0)
➕ client/ui/qml/Components/OtpLoginDrawer.qml (+208 -0)
📝 client/ui/qml/Pages2/PageSettingsApiServerInfo.qml (+35 -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 (5) - [`4393554`](https://github.com/amnezia-vpn/amnezia-client/commit/43935547dba6a92da92829fd500cb8ad9491e1de) feat: add otp login - [`56db526`](https://github.com/amnezia-vpn/amnezia-client/commit/56db526221bae7e814d031e4808ac457cde773d8) fix: align otp login with gateway api - [`2a385e9`](https://github.com/amnezia-vpn/amnezia-client/commit/2a385e9ca6377b07eb673317f2e68408dcc41a8c) chore: add otp status logging - [`e84f509`](https://github.com/amnezia-vpn/amnezia-client/commit/e84f509ef80bfad92f62238db7909588a54ec5c9) fix: otp status consumed value - [`8acf7c2`](https://github.com/amnezia-vpn/amnezia-client/commit/8acf7c2b4489fc5ce6f8a556a779334345a969e2) chore: drop per-poll otp status log ### 📊 Changes **16 files changed** (+529 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -2) 📝 `client/core/controllers/api/storePurchaseController.cpp` (+58 -0) 📝 `client/core/controllers/api/storePurchaseController.h` (+2 -0) 📝 `client/core/controllers/api/subscriptionController.cpp` (+82 -0) 📝 `client/core/controllers/api/subscriptionController.h` (+16 -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` (+39 -0) 📝 `client/ui/controllers/api/subscriptionUiController.cpp` (+66 -0) 📝 `client/ui/controllers/api/subscriptionUiController.h` (+9 -0) ➕ `client/ui/qml/Components/OtpLoginDrawer.qml` (+208 -0) 📝 `client/ui/qml/Pages2/PageSettingsApiServerInfo.qml` (+35 -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.