Use OTP Service

Prev Next

OTP is a password validation service that sends a password as an SMS to a defined number and validates this password with its validator service. In MindBehind products, you can use this service before the user starts chatting with a chatbot or live agent. 

 You can use the OTP services in different ways, varying in validator and sender services:

  • The sender service is the one that generates and sends the password to the given number.
  • The validator service gets the password as input from the user and checks the input with the sender’s password.

After these two services agree on the user's input and the generated password is matched, the user can start chatting with the chatbot or live agent.

Three different usage types are available for the OTP service:

Type/ServiceSender ServiceValidator Service
1stMindBehindMindBehind
2ndThird-PartyMindBehind
3rdThird-PartyThird-Party

In this article, you can find details about 3 different usage types of the OTP Service:

1st Type

To learn how to use the 1st type of usage of the OTP Service, follow the steps below:

Type/ Service1st
Sender/ServiceThird-Party
ValidatorServiceMindBehind

1. Go to the Web Messenger channel and click the update button.

2. Go to the Settings tab and select One-Time Password as the authentication mode.3. Fill in the blanks to customize headers and messages (You do not have to fill in if you want to use default texts).
4. You should fill in the Preferred Country field with the country name. You can customize input areas, which will be shown by the user, for SMS and phone number inputs. You should also fill in the Phone header, phone description, SMS header, and SMS description fields.5. Turn on the settings to get the name and email of the user. You can fill in the header and description fields to customize the message for the user.

Your title goes here
Do not fill in the blanks for sender and validator services. Since both the sender and validator services of MindBehind will be used, you do not have to fill in extra blanks on these fields. 

6. After saving your settings, you can use the OTP service.

2nd Type

To learn how to use the 2nd type of usage of the OTP Service, follow the steps below:

Type/ Service2nd
Sender/ServiceMindBehind
 ValidatorServiceMindBehind
  • You can follow the first 3 steps of the previous chapter.
  • Contact the Insider One team.

Since the sender service will be used as a third party, the integration team will provide the sender service URL, headers, method, and body. After the integration team provides that information, you need to apply it to the fields.

  1. You should leave the Validator Service field empty since MindBehind validation will be active.
  2. Save your changes, and you are ready to use the OTP service as configured. 

3rd Type

To learn how to use the 3rd type of usage of the OTP Service, follow the steps below:

Type/ Service3rd
Sender/ServiceThird-Party
 ValidatorServiceThird-Party
  • You can follow the first 3 steps of the previous chapter.
  • Contact the Insider One team.
  1. Since both sender and validator services will be used as third parties, the integration team needs to provide the service URL, headers, method, and body for both sender and validator processes.
  2. After the integration team provides that information, you need to fill in the required fields. 
  3. Save your changes, and now, you can use the OTP service as configured. 
    Your title goes here
    In the scope of security developments, when three 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.