Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request refactors the authentication components to support Laravel 12.x while introducing adjustments to Passport configurations, routes, and database migrations. Key changes include renaming secret fields to plainSecret, updating data types and assertions in WebClient, and modifying Passport route registrations and related tests.
Reviewed Changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| app/Containers/AppSection/Authentication/Values/Clients/WebClient.php | Adjusts parameter types and renames secret to plainSecret for consistency with Passport updates. |
| app/Containers/AppSection/Authentication/Values/Clients/Client.php | Updates the interface method to use plainSecret. |
| app/Containers/AppSection/Authentication/UI/API/Routes/Passport.v1.private.php | Updates and adds several route registrations to support new Passport controllers and JSON API routes. |
| Various test files | Updates tests to reflect changes in method names, route registrations, and token revocation behavior. |
| Migration files | Revises schema definitions (e.g. switching from int to uuid/bpchar) to support Laravel 12.x standards. |
| Data/Factories files | Makes corresponding updates in token and client factories to reflect the refactoring changes. |
| Config/passport.php | Removes configuration sections no longer needed in the new Passport setup. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 13.x #781 +/- ##
============================================
+ Coverage 78.16% 84.06% +5.89%
- Complexity 354 360 +6
============================================
Files 180 181 +1
Lines 1177 1192 +15
============================================
+ Hits 920 1002 +82
+ Misses 257 190 -67 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
[API-1290] laravel 12.x support
Description
Type of change