Package

Socialiteproviders Microsoft

Microsoft OAuth2 Provider for Laravel Socialite

Package

socialiteproviders/microsoft

View on GitHub →

Overview

What Socialiteproviders Microsoft does

For Laravel developers seeking seamless Microsoft OAuth integration, the socialiteproviders/microsoft package extends Socialite to encompass Microsoft OAuth2 capabilities.

This package addresses the need for smooth integration with Microsoft services, allowing developers to authenticate users via Microsoft accounts. By enhancing Socialite, it keeps the developer experience consistent with native functionality, requiring only minor configuration updates in the services.php file to get started.

Key features include the validation of ID tokens and handling of Microsoft Entra ID's periodic key rollovers. This ensures that authentication remains robust even as Microsoft rotates its signing keys, minimizing potential login failures.

Beyond authentication, the package enables retrieval of user roles and groups within Microsoft 365 and Azure AD environments, which can be crucial for assigning roles and managing access within applications. Additionally, developers can access ID token claims and tenant details, providing deeper integration points with Microsoft's identity platform.

For applications needing extended session capabilities, the package supports requesting refresh tokens by adding the offline_access scope. This flexibility makes it suitable for applications that rely on long-lived sessions or require frequent reconnections to Microsoft services.

This overview was generated by AI from the package README and may not reflect the latest release.

Read the full README →

Socialiteproviders Microsoft Related Articles

Laravel Microsoft Graph image

Laravel Microsoft Graph

Read article
Install Microsoft SQL Drivers for PHP 7 in Docker image

Install Microsoft SQL Drivers for PHP 7 in Docker

Read article
Microsoft Announces that it will drop official support of PHP on Windows image

Microsoft Announces that it will drop official support of PHP on Windows

Read article
Microsoft Clarity Integration for Laravel image

Microsoft Clarity Integration for Laravel

Read article
Microsoft Teams Notifications Package image

Microsoft Teams Notifications Package

Read article
SQL Server coming to Linux image

SQL Server coming to Linux

Read article

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum