Skip to content

lais-huol/socialite-sabia-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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