The Social Auth Entra ID module enables seamless authentication for Drupal users via Microsoft Entra ID, simplifying user registration and login while enhancing security.

Documentaion: https://www.drupal.org/docs/develop/entra-id-login-block-module-documen…

Features

The Social Auth Entra ID module allows users to log in to their Drupal sites using their Microsoft Entra ID credentials. It streamlines the authentication process by providing a secure OAuth2-based login, making it easier for organizations that already utilize Microsoft services. Key features include:

  • OAuth2 Integration: Securely authenticate users using Microsoft Entra ID.
    Automatic User Registration: Create Drupal user accounts automatically upon first login, reducing administrative overhead.
  • Domain Filtering: Only allow users from specific email domains to register or log in, ensuring tighter control over user access.
  • Seamless User Experience: Users can log in with existing Microsoft credentials, enhancing convenience and user satisfaction.

Use cases for this module include organizations wanting to integrate their Microsoft Entra ID user base with Drupal, educational institutions using Microsoft services, and any site requiring easy access management for users with existing Microsoft accounts.

Post-Installation

Once installed, the Social Auth Entra ID module requires some configuration:

Navigate to the module configuration page found under Configuration > People > Social Auth Entra ID.
Enter your Microsoft client ID, tenant ID, and client secret obtained from the Azure portal.
Define allowed email domains for user registration if applicable.
Save the settings.
After this setup, users will see a "Log in with Microsoft" option on the login page. When they successfully authenticate, they will either be logged in directly or registered automatically if it's their first visit.

User Registration Role: To manage user roles upon automatic registration.
Two-Factor Authentication: For added security during the login process.

Similar projects

Similar modules may include Social Auth GitHub or Social Auth Google, which provide social login capabilities. However, Social Auth Entra ID is specifically tailored for Microsoft environments, offering unique integration features that focus on Microsoft users and organizational needs.

Short name
social_auth_entra_id
Supporting organizations