LaravelPackages.net
Acme Inc.
Toggle sidebar
ikoncept/infab-oauth

Leverage infab via socialite

9
0
1.0.1
About ikoncept/infab-oauth

ikoncept/infab-oauth is a Laravel package for leverage infab via socialite. It currently has 0 GitHub stars and 9 downloads on Packagist (latest version 1.0.1). Install it with composer require ikoncept/infab-oauth. Discover more Laravel packages by ikoncept or browse all Laravel packages to compare alternatives.

Last updated

authenticate via infab/oauth

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require ikoncept/infab-oauth

You can publish the config file with:

php artisan vendor:publish --provider="Ikoncept\InfabOauth\InfabOauthServiceProvider" --tag=config

Add the following to your config/services.php-file

'infab' => [
    'client_id' => env('INFAB_CLIENT_ID'),
    'client_secret' => env('INFAB_CLIENT_SECRET'),
    'redirect' => env('INFAB_CLIENT_REDIRECT'),
]

This is the contents of the published config file:

return [
    'client_id' => env('INFAB_CLIENT_ID'),         // Your Infab Client ID
    'client_secret' => env('INFAB_CLIENT_SECRET'), // Your Infab Client Secret
    'redirect' => env('INFAB_CLIENT_REDIRECT'),
    'user_model' => env('INFAB_USER_MODEL', \App\Models\User::class)
];

Add the following to your .env file

INFAB_CLIENT_ID
INFAB_CLIENT_SECRET
INFAB_CLIENT_REDIRECT

Testing

composer test

License

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

Star History Chart