punchlist/laravel-socialite-webflow

A custom Webflow driver for Laravel Socialite

v1.0.1 2022-11-18 18:39 UTC

This package is auto-updated.

Last update: 2024-03-30 00:33:09 UTC


README

Webflow Oauth Driver for Laravel Socialite

Installation

You can install the package via composer:

composer require punchlist/laravel-socialite-webflow

Usage

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

'webflow' => [
    'base_uri' => env('WEBFLOW_URI'),
    'client_id' => env('WEBFLOW_CLIENT_ID'),
    'client_secret' => env('WEBFLOW_CLIENT_SECRET'),
    'redirect' => env('WEBFLOW_REDIRECT_URI'),
],

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

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security related issues, please email engineering@punchlist.com or use issue tracker.

Sponsorship

Development of this package is sponsored by Punchlist learn more about us!

License

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