PHPackages                             tequilarapido/socialite-okta - 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. tequilarapido/socialite-okta

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

tequilarapido/socialite-okta
============================

Socialite OKTA provider

0.0.2(9y ago)31.7kMIT

Since Dec 9Compare

[ Source](https://github.com/tequilarapido/socialite-okta)[ Packagist](https://packagist.org/packages/tequilarapido/socialite-okta)[ Docs](https://github.com/tequilarapido/socialite-okta)[ RSS](/packages/tequilarapido-socialite-okta/feed)WikiDiscussions Synced yesterday

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

Laravel Socialite \[Okta\] () provider

[![Latest Version on Packagist](https://camo.githubusercontent.com/2294f14345898ce0c9c40e4a96d4fd8dfa85b9bead0b3863e93d1c9155adc738/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74657175696c6172617069646f2f736f6369616c6974652d6f6b74612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tequilarapido/socialite-okta)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/b3e68dea36e79032f8577d9045fc777cd4bead3a8c8c9e6f2bf9bfe72b0cf11c/68747470733a2f2f7374796c6563692e696f2f7265706f732f37363035323535302f736869656c64)](https://styleci.io/repos/76052550)[![Quality Score](https://camo.githubusercontent.com/a9d215da513d04e4f5c8951dfc0080132f02b8ea02b2ca98dcadd50e1db499b4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74657175696c6172617069646f2f736f6369616c6974652d6f6b74612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tequilarapido/socialite-okta)

 [![](docs/illustration.jpg)](docs/illustration.jpg)

! Deprecated !
--------------

[](#-deprecated-)

Use this one instead.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
- [Security](#security)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package using composer

```
$ composer require tequilarapido/socialite-okta
```

Usage
-----

[](#usage)

- Add service provider to `config/app.php`

```
Tequilarapido\Okta\OktaServiceProvider::class,
```

- If you already use Socialite in your app, remove the socialite service provider from `config/app.php`
- Add Socialite alias

```
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
```

- Add this entries to `config/services.php`

```
'okta' => [
    'url' => env('OKTA_URL'),
    'client_id' => env('OKTA_CLIENT_ID'),
    'client_secret' => env('OKTA_CLIENT_SECRET'),
    'redirect' => env('OKTA_REDIRECT'),
],
```

- Add config variables to your .env file

```
# Okta
OKTA_URL=https://xxx.okta.com or https://xxx.oktapreview.com
OKTA_REDIRECT=http://your-app-url/{callback-route-uri}
OKTA_CLIENT_ID=XXX
OKTA_CLIENT_SECRET=XXX

```

- Use like any other Socialite driver

\[Laravel Socialite Documentation\] ()

```
    // To get the auhtorization redirect
    return Socialite::with('okta')->redirect();

    // To get the okta user
    $oktaUser = Socialite::driver('okta')->user();
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Nassif Bourguig](https://github.com/nbourguig)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Every ~0 days

Total

2

Last Release

3490d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/276832?v=4)[Nassif Bourguig](/maintainers/nbourguig)[@nbourguig](https://github.com/nbourguig)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tequilarapido-socialite-okta/health.svg)

```
[![Health](https://phpackages.com/badges/tequilarapido-socialite-okta/health.svg)](https://phpackages.com/packages/tequilarapido-socialite-okta)
```

###  Alternatives

[socialiteproviders/manager

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

42745.6M578](/packages/socialiteproviders-manager)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

2191.1M10](/packages/dutchcodingcompany-filament-socialite)[genealabs/laravel-sign-in-with-apple

Add Apple's new single-signon feature to your site with ease.

481657.3k](/packages/genealabs-laravel-sign-in-with-apple)[genealabs/laravel-socialiter

Automatically manage user persistence and resolution for any Laravel Socialite provider.

134431.3k](/packages/genealabs-laravel-socialiter)[andrewdwallo/filament-companies

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

35254.9k2](/packages/andrewdwallo-filament-companies)[mikebronner/laravel-sign-in-with-apple

Add Apple's new single-signon feature to your site with ease.

4817.6k](/packages/mikebronner-laravel-sign-in-with-apple)

PHPackages © 2026

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