- What is orchestra/oneauth used for?
- OneAuth is a social authentication extension for Orchestra Platform and Laravel applications. It provides a unified authentication layer for managing users, credentials, and login flows instead of relying on the default auth setup. It is aimed at applications that need an extensible authentication system.
- How do I install orchestra/oneauth in a Laravel application?
- Install the package with Composer using composer require orchestra/oneauth. Then follow the repository README for service provider registration, configuration publishing, and any required migrations. Confirm the exact commands in the package documentation before changing an existing auth setup.
- Does OneAuth replace Laravel's default authentication?
- Yes, the package overview says OneAuth replaces the default auth setup with a single, extensible system for users, credentials, and login flows. That means you should plan configuration and data changes carefully rather than layering it blindly onto an existing application. Review the package docs before switching an existing auth implementation.
- Which Laravel versions does orchestra/oneauth support?
- The provided context does not list supported Laravel versions. Check the package composer.json require constraints and the GitHub releases before installing. Do not assume compatibility with a specific Laravel major without verifying it.
- Does OneAuth support social login providers like Facebook and Google?
- OneAuth is described as a social authentication extension, so it is intended to support social login flows within its unified auth layer. The exact provider list depends on the package configuration and any bundled or custom providers. Check the README and config files for supported OAuth providers.
- How do I configure OneAuth credentials and login flows?
- Configuration is handled through the package's published config and service provider setup. The exact keys for credentials and login flows should be taken from the repository README and config files. Avoid guessing provider keys and follow the package's documented flow.
- Can I use orchestra/oneauth with existing Laravel user tables?
- The package manages users and credentials, but the context does not confirm whether it can reuse an existing Laravel users table without changes. Check the migrations and model contracts in the repository before adopting it in an existing app. You may need to adapt your schema or configuration.
- How do I test authentication flows with orchestra/oneauth?
- Follow the package's own test setup and any Orchestra Testbench conventions used in the repository. Test login flows with mocked social providers rather than real OAuth calls. Confirm the exact testing helpers in the source code and CI configuration.
- Is orchestra/oneauth production-ready and actively maintained?
- The provided context does not include maintenance or stability guarantees. Check GitHub activity, release history, and Packagist usage before using it in production. Pin a version and review upgrade notes for your application.
- What are alternatives to orchestra/oneauth for Laravel social authentication?
- Laravel Socialite is the common first-party option for OAuth social login, while Breeze, Jetstream, and Fortify cover broader auth scaffolding. OneAuth may fit best when you want an Orchestra-oriented unified auth layer. Compare maintenance, provider support, and migration cost before choosing.