PHPackages                             pnlinh/laravel-oidc-auth - 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. pnlinh/laravel-oidc-auth

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

pnlinh/laravel-oidc-auth
========================

OpenID Connect authentication for Laravel

1.0.0(2y ago)08MITPHPPHP ^7.1.3|^7.3|^8.0

Since Apr 14Pushed 2y agoCompare

[ Source](https://github.com/pnlinh/laravel-oidc-auth)[ Packagist](https://packagist.org/packages/pnlinh/laravel-oidc-auth)[ RSS](/packages/pnlinh-laravel-oidc-auth/feed)WikiDiscussions main Synced 2d ago

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

Laravel OIDC Auth
=================

[](#laravel-oidc-auth)

(This package is a fork of [xdavidwu/laravel-oidc-auth](https://github.com/xdavidwu/laravel-oidc-auth))

OpenID Connect authentication for Laravel

Save access token to session storage, and integrate with Laravel `Auth`.

Based on steverhoades/oauth2-openid-connect-client.

Usage
-----

[](#usage)

Publish config with artisan command `vender:publish` for provider `LaravelOIDCAuth\OIDCAuthServiceProvider`, and fill it.

Use `LaravelOIDCAuth\Authenticate` as auth middleware to redirect directly to OIDC login automatically.

### `config/auth.php`

[](#configauthphp)

Set guard driver to `oidc-auth-session` to remove tokens from session storage on logout.

Set provider driver to `oidc-auth-session` to make `Auth::user()` return a `LaravelOIDCAuth\OIDCUser` authenticable from saved token.

Alternatively, you can implement a user factory ( see `LaravelOIDCAuth\UserFactoryInterface`) for things like creating user DB model and use provider driver like `eloquent`.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.4% 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

811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5162a0294c9d7ddf47b6a0059206778b1f06269e73c560d07aea5683d1e65b0c?d=identicon)[pnlinh](/maintainers/pnlinh)

---

Top Contributors

[![xdavidwu](https://avatars.githubusercontent.com/u/11596445?v=4)](https://github.com/xdavidwu "xdavidwu (32 commits)")[![pnlinh](https://avatars.githubusercontent.com/u/26193890?v=4)](https://github.com/pnlinh "pnlinh (3 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/pnlinh-laravel-oidc-auth/health.svg)

```
[![Health](https://phpackages.com/badges/pnlinh-laravel-oidc-auth/health.svg)](https://phpackages.com/packages/pnlinh-laravel-oidc-auth)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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