ronvanderheijden/openid-connect
OpenID Connect authentication for Laravel. Add OIDC login to your app with discovery, authorization code flow, token handling, and user info support.
scopes_supported key in /.well-known/openid-configuration — a metadata field strict relying-party libraries read during discovery. Small in code, meaningful in product terms: it removes a class of "your IdP doesn't work with our client" support tickets.Adopt when:
Look elsewhere when:
For executives: We can make our product a standards-based identity provider using an existing open-source Laravel package instead of buying a per-user identity vendor. That unblocks enterprise SSO conversations and partner integrations without adding a recurring SaaS line item or a multi-week security build. The trade-off is that we own the operational and security burden of authentication — so this is the right call only if we're prepared to treat identity as a supported platform component, not a side project. The latest 1.2.1 release is a small but telling fix: it corrects a discovery-metadata field that strict client libraries read, which reduces "it doesn't integrate with our system" friction in exactly the enterprise deals we're targeting.
For engineering: Version 1.2.1 is a safe patch — one fix to the scopes_supported key in /.well-known/openid-configuration, no API changes and no deprecations, so it's a drop-in upgrade. The underlying capability (OIDC discovery, JWKS, authorization/token/userinfo endpoints on top of Passport) is the piece we'd otherwise hand-roll. Before committing, we need a short spike covering: key management and rotation, token/session lifetimes, consent and scope design, audit logging, and interop testing against at least two real relying parties (e.g. a Keycloak instance and one commercial client). Estimate that spike as the gate, not the integration.
How can I help you explore Laravel packages today?