ac/login-convenience-bundle
Symfony bundle that streamlines JSON API authentication with OpenID via FpOpenIdBundle. Includes a base User class, JSON login/logout endpoints, auth-header session storage (no cookies), reload-less OpenID flow support, trusted providers, and dummy login mode.
secured_paths in security.yml) reduces misconfigurations in API gateways.User class and OpenID integration lay groundwork for future SSO (e.g., OAuth2, SAML) without rewriting auth logic.FpOpenIdBundle as a foundation while adding JSON/API-specific conveniences.AppKernel, security.yml)."This package lets us ship OpenID authentication for our API in days, not weeks*. By replacing cookie-based sessions with header-based auth, we eliminate CORS headaches for our mobile/web apps. It’s like ‘login-as-a-service’ for Symfony—no reinventing wheels, and the ‘dummy login’ mode keeps devs productive. Low risk, high reward for our API-first roadmap."*
*"If we’re using Symfony for our JSON API and need OpenID:
*"This bundle saves you from:
User entity CRUD.
Tradeoff: You’ll need to:security.yml and AppKernel.User/OpenIdIdentity tables.
Try it if you’re already using Symfony and want OpenID without the pain."*How can I help you explore Laravel packages today?