PHPackages                             foxworth42/oauth2-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. foxworth42/oauth2-okta

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

foxworth42/oauth2-okta
======================

Okta OAuth 2.0 Client Provider for The PHP League OAuth2-Client

v1.0.5(1y ago)91.2M—3.4%2[2 issues](https://github.com/foxworth42/oauth2-okta/issues)1MITPHPPHP &gt;=7.1.0

Since Aug 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/foxworth42/oauth2-okta)[ Packagist](https://packagist.org/packages/foxworth42/oauth2-okta)[ RSS](/packages/foxworth42-oauth2-okta/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (1)

Okta Provider for OAuth 2.0 Client
==================================

[](#okta-provider-for-oauth-20-client)

[![Latest Version](https://camo.githubusercontent.com/ce5bbe944f3bf3792760b7de6b90e46241c35c4d4a8a007057eef438dff9028c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f666f78776f72746834322f6f61757468322d6f6b74612e7376673f7374796c653d666c61742d737175617265)](https://github.com/foxworth42/oauth2-okta/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/1d6638048ada566077eac003b2354fd7e89b3003d50bae9bfe560ba6446bc926/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f78776f72746834322f6f61757468322d6f6b74612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/foxworth42/oauth2-okta)[![Build Status](https://camo.githubusercontent.com/c0a6dcb93bcc454eb01dfc51840fccf4363a02bbd34df15d48f726c8fc589dd4/68747470733a2f2f7472617669732d63692e6f72672f666f78776f72746834322f6f61757468322d6f6b74612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/foxworth42/oauth2-okta)[![Code Coverage](https://camo.githubusercontent.com/2c8a59153f285db1b99e8cde169f6182fe9c1348dbe39c493169f257171bca0a/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f666f78776f72746834322f6f61757468322d6f6b74612e737667)](https://coveralls.io/r/foxworth42/oauth2-okta)

This package provides Okta OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

To install, use composer:

```
composer require foxworth42/oauth2-okta

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\Foxworth42\OAuth2\Client\Provider\Okta` as the provider.

You must configure the Issuer URI as the `issuer` parameter. The issuer URI can be found in Okta's admin dashboard under API -&gt; Authorization Servers.

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/foxworth42/oauth2-okta/blob/master/LICENSE) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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 ~383 days

Recently: every ~479 days

Total

6

Last Release

544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/728c216ce19c1d1df2372bbbaa76980511b90a632e9ae66d4dc1b06abdaf9c90?d=identicon)[foxworth42](/maintainers/foxworth42)

---

Top Contributors

[![foxworth42](https://avatars.githubusercontent.com/u/10375039?v=4)](https://github.com/foxworth42 "foxworth42 (22 commits)")[![jderusse](https://avatars.githubusercontent.com/u/578547?v=4)](https://github.com/jderusse "jderusse (3 commits)")[![walkerecblt](https://avatars.githubusercontent.com/u/78375304?v=4)](https://github.com/walkerecblt "walkerecblt (1 commits)")

---

Tags

clientAuthenticationoauthoauth2authorizationokta

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/foxworth42-oauth2-okta/health.svg)

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

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42121.2M118](/packages/league-oauth2-google)[cakedc/oauth2-cognito

Cognito OAuth 2.0 Client Provider for The PHP League OAuth2-Client

18597.7k](/packages/cakedc-oauth2-cognito)

PHPackages © 2026

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