Microsoft OAuth
Shared Microsoft identity platform (Entra ID, formerly Azure AD) authentication for the ArtisanPack UI ecosystem. It runs the OAuth2 authorization code flow, stores and refreshes tokens, and manages scopes for Microsoft 365 integrations.
v1.1.0
MIT License
★ 0
composer require artisanpack-ui/microsoft-oauth
$ composer require artisanpack-ui/microsoft-oauth
✓ Service provider auto-discovered
✓ Microsoft OAuth ready for connections
What it does
One Microsoft connection for every integration
Calendar sync, Graph API calls and other Microsoft 365 features all authenticate through the same connection.
Authorization code flow
Runs the OAuth2 authorization code flow against the Microsoft identity platform.
Token storage
Stores each connection's tokens so integrations can call Microsoft APIs on the user's behalf.
Automatic refresh
Refreshes tokens before they expire, keeping connections alive without asking users to sign in again.
Scope management
Tracks which scopes each connection has granted, so a package can check before it asks for more.
Graph-ready
Provides the authentication that Microsoft Graph API integrations build on.
Built for calendar sync
Provides the authentication behind Microsoft 365 calendar sync in the Bookings package.
Get started
Install and connect
Install the package, then add the client ID and secret from your Microsoft Entra app registration.
1 · Install
composer require artisanpack-ui/microsoft-oauth
Requirements
What you need
| Requirement | Detail |
|---|---|
| Microsoft Entra app registration | A client ID and secret, with the redirect URI pointing at your app |
| Used by | Microsoft 365-backed ArtisanPack UI packages, such as Bookings calendar sync |
| Setup steps for your app registration are in the documentation. | |
Connect your users to Microsoft 365
Shared Microsoft identity platform authentication for the ArtisanPack UI ecosystem. Free and open source under the MIT license.
