In one state. offices have a website. On this site there is a blog of an official, where citizens ask him questions. As ordinary people and ordinary spammers are there to send any nonsense. In general, the task is to authenticate the user's identity. I have two options on my mind - this is EDS and SMS. The first option is a long one (you need to negotiate at the top), the second is not cheap.

Please advise other options if they are.

  • I don’t see anything extra expensive in sms - even at a price of 15 kopecks per message ( mainsms.ru/?ref=6891 ), it is unlikely to fly more than a thousand rubles a month. And the number of mobile phones is much higher than the number of accounts in social networks or on the same public services. - Indifferent
  • only how it identifies the user's identity is unclear, except through the security forces, who put pressure on the operator, who will hand over these triangulations ... hint - sim card you can buy bes passport on the market - zb '
  • Well, I indicated in the question that this is for state-owned companies alone. It is just for them in general. - Samat Zhanbekov

2 answers 2

Screw authorization through VK. Now there registration of an account requires binding to a phone number, so there is no difference with SMS registration, but it's easy to implement.

You can by this method

VK.api('users.get', { user_ids: vkVars['viewer_id'], //Передаём id пользователя, полученный от ВК, название переменной моё. fields: 'has_mobile, contacts', }, function(data) { //Тут обрабатывем данные. }); 

ask if a mobile phone is specified in the user's profile ( data.response[0].has_mobile === 1 , if specified), and the telephone number from the contact details if it is not hidden by privacy ( data.response[0].mobile_phone ). To verify the uniqueness of the user, the first field is interesting, since only one VC account can be associated with one number, while the phone from contacts is useful for feedback and may not coincide with the page to which it is attached.

  • In this case, will I know the user's phone number or can I find out if necessary? Just through social. Network authentication has not been screwed. - Samat Zhanbekov 2:21
  • @z_coder, added information to the response, does not fit into the comment. - Risto
  • on the chip to sew or each tattoo in the form of a Br-code gem Devise - Jarto
  • On VKontakte, everything is clear, thanks. We in Kazakhstan VKontakte uses mainly young people. Mature people are sitting in my world and classmates. In these soc. networks have access to the user's phone? - Samat Zhanbekov 4:16
  • @z_coder, I can’t know, because I don’t even use either one or the other, and not only do not write for them. As far as I know, My World (And Odnoklassniki, too, their project) does not check the uniqueness of the account at all, at least all sorts of fake and spam accounts there was a damn thing. Maybe now they have corrected the situation, after VC, I do not know. - Risto

email oauth

  • What is needed is a method that reliably identifies the user's identity. You can bypass these methods by creating a fake account in the mail or social network. - Samat Zhanbekov
  • EDS probably will not work here. Try through social networks in which accounts are confirmed. - huffman
  • By the way, it seems you can still try through state services. - huffman
  • it seems it is ru.wikipedia.org/wiki/… - huffman 2:07