Laravel (Socialite)
See the Applications overview for prerequisites, configuration endpoints, and available scopes.
Laravel Socialite (opens in new tab) with the OIDC driver provides OAuth/OIDC integration. Key configuration:
- Install
laravel/socialite(opens in new tab),kovah/laravel-socialite-oidc(opens in new tab), andsocialiteproviders/manager(opens in new tab) - Use the
'oidc'driver name with->enablePKCE()for PKCE support - Register the Socialite service provider and event listener
- The hardware attestation claim (
hardware_verified) is in the access token JWT — decode the payload after base64url character replacement - Callback URL:
/auth/callback
Example
web/laravel-socialite (opens in new tab) — Complete working example with Socialite OIDC driver, PKCE, and hardware claim extraction.