mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-26 09:35:50 +03:00
[GH-ISSUE #556] websms.de new registration leads now to linkmobility.eu and probably to a new API #115
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#115
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 @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
@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