Current Login Options
There are many third-party WhatsApp login systems now, many common ones are Facebook, Google and SMS. However, all these may have flaws which could cause authentication errors and could cause problems. Many of times these login systems cause to trigger a third party pop-up window which sometimes causes a connection session timeout. Which is not ideal for security purposes.
OTP-based logins are very popular. However, they face some common problems of OTPs not having 100% delivery or delays in OTP that may lead to login drop-offs.
WhatsApp is used by over 2 billion users worldwide and it has already been a much preferred substitute to text messaging. WhatsApp is fairly more reliable as it depends on internet network and not on cellular networks.
In this guide, we talk about how you can implement “WhatsApp Login” on your app.
How to login via WhatsApp
Let us compare login via WhatsApp and login via SMS and see which could be better for your web application.
SMS vs WhatsApp
|1. It is not a guaranteed delivery mechanism.||Guaranteed delivery of messages and is safe.|
|2. Delayed messages are very common and no guarantee that the text will reach the end-user.||No delay in messages and all messages would reach the user in under 5 seconds.|
|3. SMS messages are very clustered and not organized making the user not very friendly with the interface||Widely used application by everyone in the industry and also comfortable interface.|
How to implement login via WhatsApp?
It is widely used and fairly easy to setup your login via WhatsApp.
All you have to do is when you have it setup:
- Just do two taps to login into your desired login via WhatsApp Site
- No encryption issue, like Google or Facebook
- No waiting for OTP like in SMS
- Do not have to type in anything and is hassle free
Login via WhatsApp Flow
So the flow of how we can implement this login system to any login requesting web application is friction less and very easy to understand.
So from the above flow you can easily tell that:
Step 1: The Web Application requests a unique login token from its database/server.
Step 2: The unique token from the server is sent to the web application
Step 3: A WhatsApp Message is triggered to the registered user’s WhatsApp number
Step 4: The WhatsApp Message is then pushed from the user to the WATI server
Step 5: The WATI server sends the message to the web application’s server for validation
Step 6: Triggers the result back to the WATI server
Step 7: The Result is carried on as a WhatsApp message to the user to tell them if the login is valid/invalid
Step 8: Login is then successful
Finally, this is how the validation works for when there is login via WhatsApp and also this makes the login system more user-friendly.
Here is how ShopKhata did it?
Shopkhata enables small and medium business owners to launch their online store and also manage their credit and debit records on their smartphones.
With lot of their users being on WhatsApp, they decided to make use of WhatsApp login option for seamless login.
This is a video explanation on how ShopKhata app made their login system to login via WhatsApp.
They have seen better login conversions with almost 70% of their users preferring to login via WhatsApp than other login options. The login time was reduced to under 10 seconds on an average.
WATI is a product of Clare.AI and is WhatsApp’s Official API Partner. The WATI Platform currently allows you to create a WhatsApp Chatbot without coding. You can use the drag and drop chatbot builder or create a chatbot using keywords through WATI. To know more about WATI, visit the official website.