Skip to content

Update documentation, drop unmaintained Symfony #434

@tacman

Description

@tacman

The documentation still refers to the "new" authentication system, how to implement the Guard authenticator, and the examples use the old annotations rather than attributes.

What do you think of a new release that requires PHP 8.1+ and Symfony 6.4+? (I know, Symfony 5.4 is still maintained, but developers can use version 1 if they need that).

This is a great bundle, but the documentation seems to lean toward making it easy for people on old versions of Symfony rather than promoting best practices on newer ones. For example,

 enable_authenticator_manager: true

was only relevant from Symfony 5.1 to 6.2. Authentication is already a bit complicated, I think the documentation should reflect usage based on current Symfony. To refer to it as the "new" authentication manager when it was released nearly 4 years ago is confusing.

symfony new --webapp auth-demo && cd auth-demo
bin/console make:user
composer require knpuniversity/oauth2-client-bundle

Ideally, the developer could cut and paste from the README and it should work.

I'm happy to help with the documentation, as I often walk through it when I'm adding social media login to a new site. But supporting Symfony 4 at the expense of Symfony 6.4/7 seems wrong.

Related to #432

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions