Skip to content

feat: add fortify authentication foundation#119

Merged
ibourgeois merged 6 commits intomainfrom
codex/feat-33-fortify-foundation
Mar 24, 2026
Merged

feat: add fortify authentication foundation#119
ibourgeois merged 6 commits intomainfrom
codex/feat-33-fortify-foundation

Conversation

@ibourgeois
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 24, 2026 06:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Laravel Fortify-backed local authentication baseline for the desktop shell, including UI scaffolding, routing protection, and feature tests to validate the core auth flows.

Changes:

  • Introduces Fortify (config + service provider + action classes) and registers it in the application bootstrap.
  • Adds custom Blade auth screens (login/register/forgot/reset) and wires the desktop shell profile menu to POST /logout.
  • Protects the home (/) route behind auth and updates/extends feature tests accordingly.

Reviewed changes

Copilot reviewed 24 out of 25 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/Feature/FortifyAuthenticationTest.php Adds end-to-end feature coverage for Fortify auth flows (redirects, views, register/login/logout, reset).
tests/Feature/DesktopShellTest.php Authenticates requests now that / is protected.
routes/web.php Wraps the home route in the auth middleware.
resources/views/welcome.blade.php Pulls viewer identity from the authenticated request to populate the profile menu.
resources/views/components/desktop/profile-menu.blade.php Switches “Log out” to a CSRF-protected POST form to Fortify’s logout route.
resources/views/auth/layout.blade.php Adds a shared auth page layout for the Fortify screens.
resources/views/auth/login.blade.php Implements the login screen UI.
resources/views/auth/register.blade.php Implements the registration screen UI.
resources/views/auth/forgot-password.blade.php Implements the password reset request screen UI.
resources/views/auth/reset-password.blade.php Implements the password reset submission screen UI.
app/Providers/FortifyServiceProvider.php Configures Fortify views, action handlers, and rate limiters.
app/Actions/Fortify/CreateNewUser.php Defines registration validation + user creation behavior.
app/Actions/Fortify/ResetUserPassword.php Defines password reset validation + persistence behavior.
app/Actions/Fortify/UpdateUserPassword.php Defines authenticated password update behavior.
app/Actions/Fortify/UpdateUserProfileInformation.php Defines profile update validation + persistence behavior.
app/Actions/Fortify/PasswordValidationRules.php Centralizes password validation rules used by Fortify actions.
config/fortify.php Adds Fortify configuration and enables registration + password resets.
database/migrations/2026_03_24_063201_add_two_factor_columns_to_users_table.php Adds Fortify-compatible 2FA columns to users.
bootstrap/providers.php Registers the application’s FortifyServiceProvider.
composer.json Adds laravel/fortify dependency.
composer.lock Locks Fortify and its transitive dependencies.
README.md Documents the new local auth endpoints and setup notes.
AGENTS.md / CLAUDE.md / GEMINI.md Updates the “ecosystems packages” list to include Fortify.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 36 out of 37 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ibourgeois ibourgeois merged commit bf8158f into main Mar 24, 2026
1 check passed
@ibourgeois ibourgeois deleted the codex/feat-33-fortify-foundation branch March 24, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants