shahzada-saeed/laravel-socialize-wia

This package extend socialize functionality for SSO Wia

dev-master 2023-08-24 11:21 UTC

This package is auto-updated.

Last update: 2024-04-24 12:47:31 UTC


README

This package is a custom Wia driver for Laravel Socialite.

Installation

You can install the package via composer:

composer require shahzada-saeed/laravel-socialize-wia

Usage

Once you install the package, add the next config values in you config/services.php configuration file:

'wia' => [
    'base_uri' => env('WIA_URI'),
    'redirect' => env('WIA_REDIRECT_URI'),
],

Then, you can use the driver as you would use it in the Laravel Socialite's official documentation. Use cognito keyword when you want to instantiate the driver:

$user = Socialite::driver('wia')->user();

License

The MIT License (MIT). Please see License File for more information.