mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-26 01:25:48 +03:00
[GH-ISSUE #891] not able to setup sms gateway #137
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TychoGold on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/891
Hi team,
I want to set up 2FA via SMS with a Huawei E3531 stick. It has API enabled (tested with curl, from inside of the container running nextcloud).
After I thought that I am too stupid I created an account at WebSMS.de and wanted to test with it, same result: I am entering credentials and then am getting just kicked out of the setup. Even a -vvv does not give me any hint what went wrong.
I already set the variable 'allow_local_remote_servers' => true, as I thought 192.168.8.1 (IP from Huawei stick) might be a local remote. Did not change anything.
Is that a bug or am I overseeing something? Thank you for your help.
Kind regards, Tycho
Nextcloud: 32.0.5
Twofactor-Gateway: 2.2.1
Console-Log (credentials blanked out):
root@nextcloud:/var/www/html# php occ twofactorauth:gateway:configure -vvv
Please choose a provider:
[0] gowhatsapp
[1] sms
[2] signal
[3] telegram
[4] whatsapp
[5] xmpp
1
Please choose a SMS provider:
[0 ] ClickSend
[1 ] Clickatell Central
[2 ] Clickatell Portal
[3 ] ClockworkSMS
[4 ] EcallSMS
[5 ] Huawei E3531
[6 ] OVH
[7 ] PlaySMS
[8 ] Puzzel SMS
[9 ] SMSAPI
[10] SMSGlobal
[11] SerwerSMS
[12] SipGate
[13] sms77.io
[14] Spryng
[15] VoIP.ms
[16] Voipbuster
[17] WebSMS.de
17
Please enter your websms.de username:
Please enter your websms.de password:
root@nextcloud:/var/www/html# php occ twofactorauth:gateway:status
GoWhatsApp: not configured
SMS: not configured
Signal: not configured
Telegram: not configured
WhatsApp: not configured
XMPP: not configured
@TychoGold commented on GitHub (Feb 11, 2026):
Digged a little deeper:
SMS: not configured
{
"provider": "none",
"available_providers": {
"ClickSend": {
"user": "",
"apikey": ""
},
"Clickatell Central": {
"api": "3453245",
"user": "42542",
"password": "544523456"
},
"Clickatell Portal": {
"apikey": "",
"from": ""
},
"ClockworkSMS": {
"apitoken": ""
},
"EcallSMS": {
"username": "",
"password": "",
"sender": ""
},
"Huawei E3531": {
"api": "http://192.168.8.1/api"
},
Things are getting set but then sms gateways stays unconfigured (the password and login was just wild typing ;-) ).
@TychoGold commented on GitHub (Feb 11, 2026):
This helps:
./occ config:app:set twofactor_gateway sms_provider_name --type=string --value=huawei_e3531
duplicate of #818