PHPackages                             wjbecker/filament-connectify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. wjbecker/filament-connectify

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

wjbecker/filament-connectify
============================

Filament Connectify - Social Login through Laravel Socialite

0.0.1(2y ago)04MITPHPPHP ^8.0

Since Apr 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/josh48202/filament-connectify)[ Packagist](https://packagist.org/packages/wjbecker/filament-connectify)[ RSS](/packages/wjbecker-filament-connectify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Filament Connectify - Social Login through Laravel Socialite
============================================================

[](#filament-connectify---social-login-through-laravel-socialite)

### Add OAuth2 Login support to Filament v3 through Laravel Socialite

[](#add-oauth2-login-support-to-filament-v3-through-laravel-socialite)

This package extends [Laravel Socialite](https://laravel.com/docs/master/socialite). Socialite currently supports authentication via Facebook, Twitter, LinkedIn, Google, GitHub, GitLab, and Bitbucket out of the box.

Refer to the [Socialite documentation](https://laravel.com/docs/master/socialite) for more information on how to configure your application to use these providers.

Many other providers are available via the [Socialite Providers](https://socialiteproviders.com/) website. Refer to the documentation for each provider for information on how to configure your application to use them.

---

Installation
------------

[](#installation)

Install package via composer:

```
composer require wjbecker/filament-connectify
```

Publish &amp; migrate migration files

```
php artisan vendor:publish --tag="filament-connectify-migrations
php artisan migrate
```

To use provider icons you can add [Blade Font Awesome](https://github.com/owenvoke/blade-fontawesome) brand icons

```
composer require owenvoke/blade-fontawesome
```

---

Provider Configuration
----------------------

[](#provider-configuration)

Refer to the [Socialite documentation](https://laravel.com/docs/master/socialite) for more information.

---

Panel Configuration
-------------------

[](#panel-configuration)

Include this plugin in your panel configuration:

```
use Wjbecker\FilamentConnectify\FilamentConnectifyPlugin;

return $panel
    // ...
    ->plugins([
        // ... Other Plugins
        FilamentConnectifyPlugin::make()
            // (required) add providers
            ->providers([
                'azure' => [
                    'label' => 'Continue with Microsoft',
                    'icon' => 'fab-microsoft', // requires additional package
                ]
            ])
            // (optional) restrict login callback
            ->isAllowedCallback(function (\SocialiteProviders\Manager\OAuth2\User $socialiteUser) {
                $decodedToken = json_decode(base64_decode(str_replace('_', '/', str_replace('-','+',explode('.', $socialiteUser->token)[1]))));
                return $decodedToken->tid === {{azure_tenant_id}};
            })
            // (optional) change the user model class
            ->userModel(\App\Models\User::class)
            // (optional) change redirect url callback
            ->redirectUrlCallback(function ($provider) {
                return 'https://'.tenant('id').'.foo.test'.route(FilamentConnectifyPlugin::get()->getCallbackRoute(), $provider, false);
            })
    ])
```

---

### Sample Provider Configuration - Azure Active Directory

[](#sample-provider-configuration---azure-active-directory)

To start, You would refer to the documentation for the [Azure Socialite Provider](https://socialiteproviders.com/Microsoft-Azure/).

Normally, you would follow the providers documentation on the aforementioned link but to demonstrate, I'll include the steps here.

Per their documentation, you would install the community Azure provider via

```
composer require socialiteproviders/microsoft-azure
```

Then you would configure your `config/services.php` file to include the Azure provider's credentials:

```
'azure' => [
  'client_id' => env('AZURE_CLIENT_ID'),
  'client_secret' => env('AZURE_CLIENT_SECRET'),
  'redirect' => env('AZURE_REDIRECT_URI'),
  'tenant' => env('AZURE_TENANT_ID'),
  'proxy' => env('PROXY')  // optionally
],
```

In addition, you need to add this provider's event listener to your `app/Providers/EventServiceProvider.php` file:

```
protected $listen = [
    // ... other listeners
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Azure\AzureExtendSocialite::class.'@handle',
    ],
];
```

Finally, don't forget to add the needed environment variables to your `.env` file:

```
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=
AZURE_REDIRECT_URI=
AZURE_TENANT_ID=
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

764d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b88b7396306b1a0d5f8d6f82ab00118b66c1fe5d057695e687e7daec104b155?d=identicon)[josh48202](/maintainers/josh48202)

---

Top Contributors

[![josh48202](https://avatars.githubusercontent.com/u/6795008?v=4)](https://github.com/josh48202 "josh48202 (4 commits)")

---

Tags

laraveloauthfilament

### Embed Badge

![Health badge](/badges/wjbecker-filament-connectify/health.svg)

```
[![Health](https://phpackages.com/badges/wjbecker-filament-connectify/health.svg)](https://phpackages.com/packages/wjbecker-filament-connectify)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42442.0M544](/packages/socialiteproviders-manager)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

213914.9k9](/packages/dutchcodingcompany-filament-socialite)[chrisreedio/socialment

Provides Socialite functionality for Filament.

10884.8k1](/packages/chrisreedio-socialment)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
