How to Use OTP Service

How to Use OTP Service

What is OTP Service?

OTP service is a password validation service which sends a password as sms to defined number and validate this password with its validator service. In MindBehind products, it can be used before user starts chatting with chatbot or live agent.

What are the usage types of OTP in MindBehind Web Messenger?

There are different ways to use OTP services and they variates in validator and sender services.

Sender service is the one generates and sends password to the given number.

Validator service is the one gets password as an input from the user and checks the input with the sender’s password.

After those two services agree on input of the user and generated password are matched, user can start chat with chatbot or live agent.

There are 3 different usage type for OTP service:

Type/Service      Sender Service      Validator Service
1stMindBehind      MindBehind
2ndThird Party      MindBehind
3rdThird Party      Third Party

How to Use OTP Service

1st Type of Usage:

T
ype/Service
Sender ServiceValidator Service
1stMindBehindMindBehind

a) Go to the Web Messenger channel and press update button


b) Visit settings tab and select One-Time Password as authentication mode


c) Fill the blanks in order to customize headers and messages (No need to fill if you want to use default texts)

Preferred Country field needs to be filled with the country name.

You can customize input areas which will be shown by user, for sms and phone number inputs. Phone header, phone description, SMS header, SMS description fields need to be filled in order to customize.


You can get the name and e mail of the user by turning on the settings for get name and get email. Header and description fields are to customize the message for user.


d) Do not fill the blanks for sender and validator services

Since both of the sender and validator services of MindBehind will be used, there is no need to fill extra blanks on those fields.


e) Save your settings and you are ready to use OTP service.

2nd Type of Usage:

Type/Service
Sender ServiceValidator Service
2ndThirdPartyMindBehind

a) a, b and c steps of previous chapter should be followed.

b) Contact with partner and integration team.

Since the sender service will be used as a third party, integration team needs to provide sender service URL, headers, method and body.

After integration team provides those information, you just need to apply them into the fields.


c) Leave Validator Service field empty since MindBehind validation will be active.

d) Save your changes and you are ready to use OTP service as configured.

3rd Type of Usage:

Type/ServiceSender ServiceValidator Service
3rdThirdPartyThirdParty

a) a, b and c steps of previous chapter should be followed.

b) Contact with partner and integration team.

Since the both sender and validator services will be used as a third party, integration team needs to provide service URL, headers, method and body for both sender and validator processes.

After integration team provides those information, you just need to apply them into the fields.


c) Save your changes and you are ready to use OTP service as configured.

In the scope of security developments, when 3 OTP requests are sent from the same IP within 1 hour, the OTP cannot be sent on the 3rd request because the request times out. 



    • Related Articles

    • Parameters to use Shopify

      First of all, you need to add Shopify integration to your company. ‘Integration Name’ can be anything you want. And you can get ‘Store Url’ and ‘Access Token’ from Shopify. Now you can use Shopify integration on your own bot with e-commerce module. ...
    • How to Use CraftGate?

      Before Starting In order to receive payment through CraftGate, the integration setup in this link. How to Create Payment Link In order to create a payment link via an assistant, a "POST" request must be sent to the following endpoint using the ...
    • Use of WhatsApp sandbox API

      We provide a developer-friendly test environment, for anyone who wants to check out the usage of our WhatsApp API. The WhatsApp API allows for direct-like access to the WhatsApp Business API. Sandbox Base Path: https://waba-sandbox.mindbehind.com ...
    • How to Use Generic Channel

      Creating generic channel: Generic channel can be used to integrate any messaging platform or channel to MindBehind. It supports three actions: Receive endpoint: The MindBehind endpoint that will receive your messages, and its ...
    • How to use ig.me links

      What is IG.ME Links? It provides a way to create a link where users can directly access the instagram dm box. How to create IG.ME Links? Go to Your MindBehind Company Click on Channels and scroll to your INSTAGRAM Channel Click on the IG.ME Link icon ...