biigle/laravel-socialite-haai

Helmholtz AAI OAuth2 Provider for Laravel Socialite

v1.2 2025-09-26 14:05 UTC

This package is auto-updated.

Last update: 2025-09-26 14:05:24 UTC


README

This is a Laravel Socialite provider for Helmholtz AAI.

Installation

Install the package:

composer require biigle/laravel-socialite-haai

Add the entry to config/services.php:

'haai' => [
  'client_id' => env('HAAI_CLIENT_ID'),
  'client_secret' => env('HAAI_CLIENT_SECRET'),
  'redirect' => env('HAAI_REDIRECT_URI'),
],

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('haai')->redirect();

Returned User Fields

  • id
  • name
  • given_name
  • family_name
  • email