Work scheme: when authorizing on a new device, the server sends a one-time password to an application already authorized on another device (for example, Telegram, in my case it is not a messenger).

The question is, how in an authorized application to catch the receipt of such a code to display it?

  • one
    Give a specific description of the application that should catch the passwords obtained. Not quite clear the method and type of sending. - Yurii Manziuk
  • The password will be generated on the server in response to an authorization request from a new device and sent to the android application. The application is a client on android, or what specific description is needed? - Nick
  • Are you 9 years old? Can you state your thoughts? 2 clients connect to the server with the same password, right? and 1mu need to report that someone else connected? what's the one-time password? - Andrey Lehan
  • When you register in a telegram or any other messenger, you need to enter a code that is sent to your other device. I need to do about the same. Two-factor authorization such, only without SMS - Nick

0