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

Bartender Is an Opinionated Way to Authenticate Users Using Laravel Socialite image

Bartender Is an Opinionated Way to Authenticate Users Using Laravel Socialite

Read article

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

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver

PhpStorm

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

PhpStorm

Shift

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

Shift

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