- What is seatplus/auth used for?
- SeatPlus Auth is a Laravel package for adding EVE Online SSO authentication and authorization to SeatPlus applications. It manages the OAuth2 login flow, stores and refreshes EVE tokens, and links authenticated EVE characters to application users. It also integrates with Laravel guards, middleware, roles, and permissions.
- How do I install seatplus/auth in a Laravel application?
- Install the package with Composer using seatplus/auth. Then review the package configuration and any required migrations or service provider setup for your Laravel application. Because it provides Laravel guards, middleware, and configuration, you should publish and adjust the package config before enabling EVE SSO login.
- How does the EVE Online SSO OAuth2 login flow work in seatplus/auth?
- The package handles the EVE Online SSO OAuth2 flow for your Laravel application. After a character authenticates through EVE SSO, the package persists the resulting tokens and links that character to an application user. You then use Laravel guards and middleware to protect routes based on the authenticated character and related permissions.
- Does seatplus/auth refresh EVE tokens automatically?
- Yes, SeatPlus Auth includes token storage and automatic refresh for EVE Online tokens. This helps keep character authentication usable without requiring users to repeatedly complete the SSO flow. You should still review token storage and refresh configuration for your production environment.
- How are EVE characters linked to Laravel users in seatplus/auth?
- SeatPlus Auth links authenticated EVE characters to application users as part of the login flow. This gives your Laravel application a user account that can be associated with one or more EVE characters. The linking supports character-based access control through the package’s authorization integration.
- Can I use seatplus/auth for role and permission-based access control?
- Yes, SeatPlus Auth provides role and permission integration alongside Laravel guards and middleware. After a character is linked to a user, you can protect routes and actions using the authorization rules configured in your application. This makes it suitable for character-based access control in the SeatPlus ecosystem.
- Which Laravel versions does seatplus/auth support?
- The provided package overview does not list specific Laravel version constraints. Check the package’s composer.json requirements and release notes before installing it in your application. That will confirm compatibility with your Laravel and PHP versions.
- Is seatplus/auth suitable for production Laravel applications?
- SeatPlus Auth provides the core pieces needed for EVE SSO authentication, including OAuth2 handling, token storage and refresh, character linking, guards, and middleware. Before production use, review your token storage, refresh behavior, route protection, and package maintenance status. It is designed for Laravel applications in the SeatPlus ecosystem, so confirm that its assumptions match your app.
- How do I test EVE SSO authentication with seatplus/auth?
- Use Laravel’s testing tools to simulate authenticated users and protected routes rather than completing a real EVE Online SSO flow in every test. Check the package’s guards and middleware behavior, plus how character-to-user linking is represented in your test setup. For OAuth-specific tests, mock or fake the external SSO interaction where possible.
- What are alternatives to seatplus/auth for EVE Online SSO in Laravel?
- Alternatives include building a custom EVE Online OAuth2 integration with Laravel’s HTTP client, using Laravel Socialite with a custom EVE SSO provider, or evaluating other EVE SSO packages. SeatPlus Auth is focused on the SeatPlus ecosystem and includes token refresh, character linking, roles, permissions, guards, and middleware. Choose based on how much of that behavior you want managed by the package.