[GH-ISSUE #556] websms.de new registration leads now to linkmobility.eu and probably to a new API #115

Open
opened 2026-02-26 05:33:20 +03:00 by kerem · 1 comment
Owner

Originally created by @Haidafraid on GitHub (Mar 14, 2023).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/556

Perhaps I just chose the wrong sms gateway provider. I wanted to register at websms.de to use your sms-gateway app. Alas the site redirected me to the registration process at linkmobility.eu - I did not manage to register a new account at websms.de
I presume that the api differs from the original websms.de api for new users. Or is that case already reflected somewhere in the code? And I just did not see it at first glance?
If I understood correctly the API for this gateway can be found here: https://developer.linkmobility.eu/sms-api/rest-api - as I have no glue how the "old" api for websms.de looked like - I can not say if it would be enough to change only the links within WebSms.php
Every help to get this to work would be highly appreciated.
Cheers Marc

Originally created by @Haidafraid on GitHub (Mar 14, 2023). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/556 Perhaps I just chose the wrong sms gateway provider. I wanted to register at websms.de to use your sms-gateway app. Alas the site redirected me to the registration process at linkmobility.eu - I did not manage to register a new account at websms.de I presume that the api differs from the original websms.de api for new users. Or is that case already reflected somewhere in the code? And I just did not see it at first glance? If I understood correctly the API for this gateway can be found here: https://developer.linkmobility.eu/sms-api/rest-api - as I have no glue how the "old" api for websms.de looked like - I can not say if it would be enough to change only the links within [WebSms.php](https://github.com/nextcloud/twofactor_gateway/blob/master/lib/Service/Gateway/SMS/Provider/WebSms.php) Every help to get this to work would be highly appreciated. Cheers Marc
Author
Owner

@Haidafraid commented on GitHub (May 25, 2023):

It seems that the rest API is the same. The only thing that has to be changed to make websms working with linkmobility.eu is the url. Am I correct, if I therefor just alter Line 57 of the lib/Service/Gateway/SMS/Provider/WebSms.php file to:
$this->client->post('https://api.linkmobility.eu/rest/smsmessaging/text', [
for a quick and dirty fix to get websms.de running for linkmobility.eu? Or did I miss anything?
Thank you,
Marc

<!-- gh-comment-id:1562534638 --> @Haidafraid commented on GitHub (May 25, 2023): It seems that the rest API is the same. The only thing that has to be changed to make websms working with linkmobility.eu is the url. Am I correct, if I therefor just alter Line 57 of the lib/Service/Gateway/SMS/Provider/WebSms.php file to: `$this->client->post('https://api.linkmobility.eu/rest/smsmessaging/text', [ ` for a quick and dirty fix to get websms.de running for linkmobility.eu? Or did I miss anything? Thank you, Marc
Sign in to join this conversation.
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
starred/twofactor_gateway-nextcloud#115
No description provided.