lais/socialite-sabia-provider

Socialite provider for Sabiá OAuth services.
2,511 4
Install
composer require lais/socialite-sabia-provider
Latest Version:v4.0.0
PHP:^7.2|^8.0
License:MIT
Last Updated:Dec 19, 2023
Links: GitHub  ·  Packagist
Maintainer: jeanjar

Socialite Sabiá provider

Introduction

Socialite Sabiá provider is a Laravel Socialite extension for OAuth authentication services with Sabiá.

License

Socialite Sabiá provider is open-sourced software licensed under the MIT license

Getting started

To get started with our provider, add to your composer.json file as a dependency:

composer require lais/socialite-sabia-provider

Laravel <= 5.8

composer require lais/socialite-sabia-provider=^2.0

Configuration

Laravel Version 5.5 > skip this step.

After installing the provider library, register the LAIS\Socialite\Sabia\ServiceProvider in your config/app.php configuration file:

'providers' => [
    // Other service providers...

    LAIS\Socialite\Sabia\ServiceProvider::class,
],

You will also need to add credentials for the Sabiá OAuth services in order to your application utilize them. These credentials should be placed in your config/services.php configuration file, and should use the key sabia. For example:

'sabia' => [
    'client_id' => 'your-sabiá-app-id',
    'client_secret' => 'your-sabiá-app-secret',
    'redirect' => 'http://your-callback-url',
],