PHPackages                             tea-software/secure-socialite - 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. tea-software/secure-socialite

ActiveLibrary

tea-software/secure-socialite
=============================

Secure, stateless OAuth state handling for Laravel Socialite

v1.0.0(1y ago)01MITPHPPHP ^8.0

Since May 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phuchautea/secure-socialite)[ Packagist](https://packagist.org/packages/tea-software/secure-socialite)[ RSS](/packages/tea-software-secure-socialite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

SecureSocialite
===============

[](#securesocialite)

Secure, stateless OAuth state handling for Laravel Socialite with enhanced security features.

Description
-----------

[](#description)

SecureSocialite provides a robust solution for handling OAuth authentication in Laravel applications using Socialite. It implements secure, encrypted state parameters with automatic expiration and domain whitelisting for callbacks, helping protect your application against CSRF and redirection attacks.

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

[](#installation)

You can install the package via Composer:

```
composer require tea-software/secure-socialite
```

The package will automatically register its service provider if you're using Laravel's package auto-discovery.

Configuration
-------------

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="SecureSocialite\SecureSocialiteServiceProvider" --tag="config"
```

This will create a `config/secure-socialite.php` file with the following contents:

```
