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. - Database-backed RS256 signing keys with a built-in rotation command and JWKS overlap.
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 13
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.
A package-owned OAuth2 core
The package implements the OAuth 2.1 / OpenID Connect core itself: client authentication, the
authorization request, authorization codes with PKCE, refresh-token rotation, and the token
endpoint's grants live in the Protocol domain on top of the package's own tables and models.
This means:
- The authorization, token and approve/deny routes are registered by this package using its own
controllers, so
max_age,prompt, OIDC scopes and theid_tokenare wired in. - PKCE with
S256is required on every authorization request, per OAuth 2.1 ยง4.1.1/ยง7.6 โ for confidential clients as well as public ones. A request missing it is answered with aninvalid_requesterror on the client's redirect URI. - Authorization codes and refresh tokens are opaque, single-use database records. A replayed code or a reused refresh token revokes every token that descends from it.
- The signing key is read on every request, so a key rotation takes effect without restarting the workers.
- No client-management JSON API ships with the package. Provision clients with
oidc:client, or through dynamic client registration.
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
The suite runs from the root of the monorepo, which holds the single Composer install for all packages:
CI runs the suite on Laravel 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