Mobile authenticator
#1

Hello guys,

I was logging into my Steam account and when I was typing my code in I realised "Why don't I create something like that for SA:MP?".
So I ******d a bit and found out that in pawn you have a function called HTTP_POST that you can use to get a callback from a page, because it's pretty obvious that you can't do that directly into the gamemode.
My question is , do you guys think that it's possible thorugh the HTTP_POST function to get the callback containing the SMS code to verify if the sms code given by the player is right?

I don't want to make something complicated like Steam , only a SMS server that will send an SMS with a code that is avaliable for 2 mins.

P.S: I have no knowledge in pawn just a bit, I have a developer that is working on my gamemode, but because he doesn't have any ideea if that would work , I asked in here .
Reply
#2

Better to make a mobile phone app that people will download and see their in-game stats and the code itself so they can log-in ingame.
Reply
#3

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
Better to make a mobile phone app that people will download and see their in-game stats and the code itself so they can log-in ingame.
I don't know if they will really use it because what kind of information will they see on the app?
Let's say , Level , RP , E-MAil things that they can easly see in panel .

I also thought about that , because then I could also do offline authenthification as well..
Reply
#4

Their skin, vehicles, property it would be like an UCP just on a mobile phone that they can log-in on.
Reply
#5

Hmm , it's pretty easy to do and I am also an application developer.
I might do it like that .
Thanks .

But the question still remains , how can I do the authenthicator part .
Reply
#6

I don't know if you can but make the application create a random number and save it in the mysql database, then on the server, pick it from the mysql database, maybe this could work
Reply
#7

Easy to do? Make me one too then lul.

Take a look at this: http://stackoverflow.com/questions/6...nticators-work
https://github.com/******/******-authenticator
http://pecl.php.net/package/PAM

https://tools.ietf.org/html/rfc4226 - this one explains how it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)