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

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

xdavidwu/laravel-oidc-auth
==========================

OpenID Connect authentication for Laravel

v0.6.1(11mo ago)918.4k—2.3%8[5 issues](https://github.com/xdavidwu/laravel-oidc-auth/issues)MITPHP

Since Oct 24Pushed 11mo ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (18)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 `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

37

—

LowBetter than 83% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.9% 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 ~109 days

Recently: every ~153 days

Total

13

Last Release

355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4756a99397376339ecf139ca1a20f7894ad6572ee57e018313efb7670ebf830?d=identicon)[xdavidwu](/maintainers/xdavidwu)

---

Top Contributors

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

---

Tags

laraveloidcoidc-client

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/xdavidwu-laravel-oidc-auth/health.svg)](https://phpackages.com/packages/xdavidwu-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)
