Search Results :
×Secure your Headless/Decoupled Drupal with a robust Two Factor Authentication (2FA) using our Drupal Two Factor Authentication - 2FA / Passwordless Login. This guide will help you to configure Two-Factor Authentication (2FA / MFA) for your Headless Drupal site.
Drupal 2FA module will add a second layer of authentication to your Drupal account to increase the security of your site from unwanted hacks and unauthorized login attempts. This module is compatible with all Drupal 7, 8 and Drupal 9 sites.
If you have any queries or if you need any sort of assistance in configuring the module, you can contact us at drupalsupport@xecurify.com. If you want, we can also schedule an online meeting to help you configure the Two Factor Authentication - 2FA / Passwordless Login module.
composer require drupal/miniorange_2fa
composer require 'drupal/miniorange_2fa'
{BaseURL}/admin/config/people/miniorange_2fa/customer_setup
drush dl miniorange_2fa
drush en miniorange_2fa
drush cr
{BaseURL}/admin/config/people/miniorange_2fa/customer_setup
{BaseURL}/admin/config/people/miniorange_2fa/customer_setup
API: POST {drupal-base-URL}/headless/authenticate.
What you will send:
{"username":"xxxxx","password":"xxxxx","apiKey":"xxxxx"}
If successful, you will receive back the following response:
{"username":"xxxxx","status":"SUCCESS","message":"xxxxx","transactionID":"xxxxx","authType":"xxxxx"}
PARAMETER | TYPE | REQUIRED? | DESCRIPTION |
---|---|---|---|
username | string | required | Entered by the user on the login form. |
password | string | required | Entered by the user on the login form. |
apiKey | string | required | Send the apiKey provided in the module. |
API: POST {drupal-base-URL}/headless/login
What you will send:
{"username":"xxxxx","transactionID":"xxxxx","authType":"xxxxx","otp":"xxxxx","apiKey":"xxxxx"}
If successful, you will receive back the following response:
{"username":"xxxxx","status":"SUCCESS","message":"xxxxx","userprofile":"xxxxx"}
PARAMETER | TYPE | REQUIRED? | DESCRIPTION |
---|---|---|---|
username | string | required | You will get this in response to the first API call. |
transactionID | string | required | You will get this in response to the first API call. |
authType | string | required | You will get this in response to the first API call. |
otp | string | required | You will get this in response to the first API call. |
apiKey | string | required | Send the apiKey provided in the module. |
ERROR CODE | DESCRIPTION |
---|---|
400 Authentication Failed | API Authentication Failed |
404 Not Found | Headless 2FA setting is not enabled. Please enable the same under the Headless 2FA Setup tab of the module. |
401 Unauthorized | User has entered invalid credentials (username/password) |
403 Forbidden | User has entered the incorrect OTP (One time passcode) |
500 Internal Server Error | You will get 500 Internal Server Error due to various reasons, please check Drupal logs for more details. |
If you have any doubts or queries, you can contact us at drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure our Drupal module.
24*7 SupportWe provide a 7 day full feature trial wherein you can fully test out all the features of the module. Please drop us an email at drupalsupport@xecurify.com and ask for a trial.
Request for TrailCheck out some of our most prominent and most popular success stories. These include Headless Solutions, Adaptive 2FA, SAML + User Provisioning and much more.
Unique SolutionCheck out our other modules for Secure Single Sign-On: Two Factor Authentication, Passwordless Authentication, Decouple / Headless Single Sign On, Provisioning, LDAP, Rest API and much more.
KnowMoreNeed Help? We are right here!
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com
This privacy statement applies to miniorange websites describing how we handle the personal information. When you visit any website, it may store or retrieve the information on your browser, mostly in the form of the cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not directly identify you, but it can give you a more personalized web experience. Click on the category headings to check how we handle the cookies. For the privacy statement of our solutions you can refer to the privacy policy.
Necessary cookies help make a website fully usable by enabling the basic functions like site navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any personal identifiable information. However, some parts of the website will not work properly without the cookies.
These cookies only collect aggregated information about the traffic of the website including - visitors, sources, page clicks and views, etc. This allows us to know more about our most and least popular pages along with users' interaction on the actionable elements and hence letting us improve the performance of our website as well as our services.