Skip to content

Conversation

@jrushlow
Copy link
Collaborator

@jrushlow jrushlow commented Apr 21, 2024

Replaces the existing make:auth command that was originally used to implement authentication with "Guard" based authentication. When we created make:security:form-login - our aim was to ultimately remove make:auth.

  • deprecates make:auth and it's MakeAuthenticator::class - deprecated in [make:auth] deprecate command #1523 for better changelog / release visibility
  • introduces make:security:custom
  • the "custom authenticator" generated replicates the example provided in the security docs: https://symfony.com/doc/current/security/custom_authenticator.html
  • make:security:custom is intended to be no-frills... It will not work out of the box because it's a "custom" authenticator. The custom implementation details should be generated in userland.

@jrushlow jrushlow added the Feature New Feature label Apr 21, 2024
@jrushlow jrushlow force-pushed the feature/security-custom branch 2 times, most recently from b4ed9e7 to 17610a5 Compare April 21, 2024 07:39
@jrushlow jrushlow changed the title WIP - [make:security:custom] create a custom authenticator [make:security:custom] create a custom authenticator Apr 21, 2024
@jrushlow jrushlow marked this pull request as ready for review April 21, 2024 07:43
@jrushlow jrushlow force-pushed the feature/security-custom branch from 17610a5 to 6c005d3 Compare April 21, 2024 07:48
@jrushlow jrushlow merged commit ed3465b into symfony:main Apr 24, 2024
@jrushlow jrushlow deleted the feature/security-custom branch April 24, 2024 09:01
@jrushlow jrushlow mentioned this pull request Apr 24, 2024
2 tasks
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request May 30, 2025
This PR was merged into the 6.4 branch.

Discussion
----------

[Security] `make:security:custom`

Since MakerBundle `v1.59.0` - you can call `make:security:custom` to generate a simple, no-frills, custom authenticator based off the example in the docs.

- [x] Maker PR: symfony/maker-bundle#1522
- [ ] Maker Release: `v1.59.0` (Not yet released)

Commits
-------

6ae48a8 [security] `make:security:custom`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant