Download the PHP package bambamboole/laravel-oidc-server without Composer
On this page you can find all versions of the php package bambamboole/laravel-oidc-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bambamboole/laravel-oidc-server
More information about bambamboole/laravel-oidc-server
Files in bambamboole/laravel-oidc-server
Package laravel-oidc-server
Short Description OpenID Connect provider (server) for Laravel โ the engine behind bambamboole/laravel-oidc
License MIT
Homepage https://github.com/bambamboole/laravel-oidc-server
Informations about the package laravel-oidc-server
laravel-oidc-server
An OIDC-capable auth server built as a Laravel package โ turn your Laravel app into a full OpenID Connect identity provider that other applications authenticate their users against.
This is the server package of the
laravel-oidc monorepo. Its siblings are
bambamboole/laravel-oidc-client
(the relying party) and
bambamboole/laravel-oidc-ui
(the Lattice auth UI); bambamboole/laravel-oidc ships all three.
The package provides the complete protocol surface of an identity provider and, optionally, a complete authentication engine (login, registration, MFA) that your app fills with its own views and actions.
๐ Read the documentation โ
What you get
OIDC provider
- Signed RS256
id_tokens, a/.well-known/openid-configurationdiscovery document, and a JWKS endpoint (RFC 7638kids). userinfo, RP-initiated logout, OIDC back-channel logout, RFC 7662 introspection, and RFC 7009 revocation.- RFC 9068 structured
at+jwtaccess tokens. - RFC 8693 token exchange, with a self-contained
CheckAudienceresource-server middleware. - Capability-scoped token triggers and a swappable
ClaimsResolver/ScopeRepository/ExchangePolicy. - Env-based signing keys (
OIDC_PRIVATE_KEY/OIDC_PUBLIC_KEY) with a built-in rotation command.
Auth engine (optional)
- Package-owned login, registration, password reset, email verification, and password confirmation, driven by view and action seams your app fills.
- Multi-factor authentication: TOTP, recovery codes, and passkeys (WebAuthn).
- A post-login pipeline with a single decision hook (
requireMfa/deny/ add claims) andacr/amremission.
Requirements
- PHP
^8.4 - Laravel 12 or 13
laravel/passport^13.4โ the OAuth2 core the package builds on
Installation
Install the server package on its own, or the full suite (server + client + ui) via
composer require bambamboole/laravel-oidc:
The service provider is auto-discovered. Set OIDC_ISSUER to your provider's public origin โ
every URL advertised in discovery is derived from it.
See the Installation guide
for the full walkthrough, and Configuration
for every config/oidc.php key.
Built on Passport
Under the hood, the OAuth2 core is Laravel Passport 13 โ the package extends and
reconfigures it rather than reimplementing an authorization server. On registration it calls
Passport::ignoreRoutes() and registers the full /oauth/* route surface itself, so that:
- OIDC scopes,
max_age, and theid_tokenresponse type are wired in. - PKCE is required on every authorization request (OAuth 2.1 ยง4.1.1/ยง7.6), for confidential clients too.
- Passport's optional JSON API management routes are not registered โ register them yourself if you need them.
- The access-token entity is swapped to
OidcAccessTokenand the response type toIdTokenResponse.
Documentation
The full documentation lives at bambamboole.github.io/laravel-oidc.
It is built with Starlight from the docs/ directory of
the monorepo, where npm run docs:dev
serves it locally.
Testing
CI runs the suite across Laravel 12/13 on every push and pull request.
Changelog
All packages in the suite are versioned in lockstep; see the monorepo changelog.
License
MIT. See LICENSE.
All versions of laravel-oidc-server with dependencies
ext-sodium Version *
bacon/bacon-qr-code Version ^3.1
illuminate/auth Version ^13.0
illuminate/bus Version ^13.0
illuminate/console Version ^13.0
illuminate/contracts Version ^13.0
illuminate/cookie Version ^13.0
illuminate/database Version ^13.0
illuminate/http Version ^13.0
illuminate/queue Version ^13.0
illuminate/session Version ^13.0
illuminate/support Version ^13.0
illuminate/validation Version ^13.0
illuminate/view Version ^13.0
laravel/passkeys Version ^0.2.1
lcobucci/clock Version ^3.2
lcobucci/jwt Version ^5.0
phpseclib/phpseclib Version ^3.0.15
pragmarx/google2fa Version ^9.0