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(11mo ago)01MITPHP

Since May 19Pushed 11mo 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 1mo ago

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

25

—

LowBetter than 37% of packages

Maintenance50

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

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

358d 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

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[codegreencreative/laravel-samlidp

Make your PHP Laravel application an Identification Provider using SAML 2.0. This package allows you to implement your own Identification Provider (idP) using the SAML 2.0 standard to be used with supporting SAML 2.0 Service Providers (SP).

263763.5k1](/packages/codegreencreative-laravel-samlidp)

PHPackages © 2026

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