View as .md

Laravel (Socialite)

See the Applications overview for prerequisites, configuration endpoints, and available scopes.

Laravel Socialite with the OIDC driver provides OAuth/OIDC integration. Key configuration:

  • Install laravel/socialite, kovah/laravel-socialite-oidc, and socialiteproviders/manager
  • Use the 'oidc' driver name with ->enablePKCE() for PKCE support
  • Register the Socialite service provider and event listener
  • Hardware attestation claims (hardware_verified, hardware_aaguid) are in the access token JWT — decode the payload after base64url character replacement
  • Callback URL: /auth/callback

Example

web/laravel-socialite — Complete working example with Socialite OIDC driver, PKCE, and hardware claim extraction.