We are pleased to introduce PushAuth to the community, which allows your customers to log in using push messages on their mobile device!
This idea is not new and many companies already use this technology in their applications. Everything looks quite simple, until you consider the issues: security, device management and customer management, compatibility and comfortable work.
We use a lot of services: email, social networks, CRM-systems, access control systems, client-banks and so on. For each of the services, as is correct, for access you must use the login / email and password . We can already conclude that:
Based on two points, I wanted:
We in mobile applications for registration do not use passwords at all . Yes, there is no need to remember another password. For registration / authorization in the mobile application, it is enough to enter only an email, which will receive a letter with a link to confirm the action. After the next input email - you will automatically enter the application without registering.
Two main types of authorization requests are now available:
Push question
Secure Push Code
Applications are already available:
For owners of services available detailed statistics on the status of the authorization of their clients. You can create a separate Application for each service and monitor its use. In addition, you can configure the web hooks that will send authorization information:
Let's start our flight of fancy with IT-services, for example, the same CRM-systems, where there is a need to confirm the action of the employee. For example, thanks to the routing service, it is possible to make sure that in order to sign a document, management confirmation is necessary. Thus, the picture as a whole looks like this:
If at some stage someone answers No , then the next higher level will not receive a push request and the general result of the request will be No.
Above, we have described the work of service routing with priority. But this service can be used without order. This means that all links in the chain (employees) will receive a push request at the same time. And only if all of them respond positively, only then the overall result of the requests will be positive.
Two-factor or simple single-factor authorization on the site can simplify or secure access to internal resources. For example, to access the admin web panel of the same WordPress, when you give access to your contractor / developer and want to strictly control it by means of push-requests for authorization.
Do you use SSH / telnet access? Or do you want to open the cover of the laptop to receive a request for authorization? Then this service will be just the perfect option.
You can additionally commercialize access to objects (safe, elevator, turnstile, alarm) using a mobile application.
This is the most important issue in this service. It is worth paying attention to such things as data exchange between the User’s Service <-> PushAuth Server <-> Client Application.
All data is transmitted over HTTPS (TLS), with the HMAC signature, SHA-256 algorithm. Each client and user of the service has its own pair of Public & Private Key. In our case, the public key is necessary for identification in the general network storage and can be transmitted in the clear. The private key is transmitted securely. In the case of a mobile application, all keys are transmitted only via APN / GCM. Thus, we provide additional protection at the level of certificates of these services.
We have described a detailed API for working with the service. Generating and sending a request, receiving a response and decoding data. Everything is available by reference .
At the moment, one of the main tasks is to write libraries to work with the service to reduce the threshold for users to enter the service. Therefore, now available:
We need: Python, Go, Ruby, Node, .NET libraries. And also in PHP, framework packages, for example under WordPress, Laravel and others. For authorization in Linux via SSH / Bash LogOn, a so-module is required.
If you are interested in helping the project , we will be happy to provide a PREMIUM 6 month account.
Source: https://habr.com/ru/post/337072/
All Articles