lais/socialite-sabia-provider

Socialite provider for Sabiá OAuth services.

v4.0.0 2021-02-03 20:13 UTC

This package is not auto-updated.

Last update: 2024-04-25 11:07:02 UTC


README

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',
],