Module Description
This project is part of the Drupal Social Initiative and is based on the Social API.

Social Auth Microsoft allows users to register and login to your Drupal site with their Microsoft account. It is based on Social Auth and Social API projects

This module adds a path user/login/microsoft which redirects the user to Microsoft Accounts for authentication.

After Microsoft has returned the user to your site, the module compares the user id or email address provided by Microsoft. If your site already has an account with the same email address or the user has previously registered using Microsoft, the user is logged in. If not, a new user account is created. Also, a Microsoft account can be associated with an authenticated user.

Login process can be initiated from the "Microsoft" button in the Social Auth block. Alternatively, site builders can place (and theme) a link to user/login/microsoft wherever on the site.

Configuration In Drupal

* Log in as an admin.


* Navigate to Configuration » User authentication » Microsoft and copy the Authorized redirect URL field value (the URL should end in /user/login/microsoft/callback).



In Azure Portal
* Log in to a Microsoft account.


* Navigate to App registrations


* Click Register an application.


* Set the app name and account type as desired.


* Under Redirect URI select "Web" from the platform options and paste the URL from Step 2 in the field.


* Click Register.


* On the app Overview page copy the Application (client) ID value and store it somewhere safe.


* Navigate to Certificates & secrets » Client secrets.


* Click New client secret.


* Set the fields as desired and click Add.


* Copy the secret (in the Value column, not the Secret ID column) and store it somewhere safe.



In Drupal:
* Return to Configuration » User authentication » Microsoft.


* Enter the Microsoft client ID in the Client ID field.


* Enter the Microsoft secret value in the Client secret field.


* Click Save configuration.


* Navigate to Structure » Block Layout and place a Social Auth login block somewhere on the site (if not already placed).



Project Usage
121
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Social Auth Microsoft allows users to register and login to a Drupal site with their Microsoft account.
Data Name
social_auth_microsoft

OPENAI CHATBOT

OPENAI CHATBOT

14:33:01
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.