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

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

z-trippete/laravel-oidc-auth
============================

OpenID Connect authentication for Laravel

1.0.0(1y ago)01MITPHP

Since May 19Pushed 1y agoCompare

[ Source](https://github.com/z-trippete/laravel-oidc-auth)[ Packagist](https://packagist.org/packages/z-trippete/laravel-oidc-auth)[ RSS](/packages/z-trippete-laravel-oidc-auth/feed)WikiDiscussions main Synced today

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

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

[](#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 `vendor: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

24

—

LowBetter than 31% of packages

Maintenance46

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/012fd0ce76a81abbe50e24005432b95717b0c44a7d8ee71cc35503f0bda16d98?d=identicon)[ZTrippete](/maintainers/ZTrippete)

---

Top Contributors

[![xdavidwu](https://avatars.githubusercontent.com/u/11596445?v=4)](https://github.com/xdavidwu "xdavidwu (33 commits)")[![toto6038](https://avatars.githubusercontent.com/u/50100922?v=4)](https://github.com/toto6038 "toto6038 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M222](/packages/laravel-octane)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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