PHPackages                             savrx/savrx-passport-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. savrx/savrx-passport-socialite

ActiveLibrary

savrx/savrx-passport-socialite
==============================

1.0.4(11mo ago)0139PHPPHP ^8.0

Since May 19Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/iatenine/savrx-passport-socialite)[ Packagist](https://packagist.org/packages/savrx/savrx-passport-socialite)[ RSS](/packages/savrx-savrx-passport-socialite/feed)WikiDiscussions main Synced 1mo ago

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

Sav-Rx Passport Socialite Provider
==================================

[](#sav-rx-passport-socialite-provider)

```
composer require savrx-cloud/savrx-passport-socialite
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'savrxpassport' => [
  'client_id' => env('SAVRXPASSPORT_CLIENT_ID'),
  'client_secret' => env('SAVRXPASSPORT_CLIENT_SECRET'),
  'redirect' => env('SAVRXPASSPORT_REDIRECT_URI'),
  'host' => env('SAVRXPASSPORT_HOST'),
],
```

`host` will generally always be set to `https://auth.savrx.com/` but may be altered to accomodate separate dev environments `redirect` will be used to determine the redirect URI you wish to use

### Add provider event listener

[](#add-provider-event-listener)

#### Laravel 11+

[](#laravel-11)

In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method.

- Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.

```
