Skip to content

Entity Provider instructions (or code ) are incorrect in some cases. #2199

Closed
@ghost

Description

I've seen a few reports (3 including myself) in the #symfony irc channel about being logged in, but not being authenticated (as per the profiler) since the documentation was changed.

They all say they followed the documentation here: http://symfony.com/doc/current/cookbook/security/entity_provider.html in regards to serializing only the id properties
of their entities.

As soon as they add username, salt, password fields (like the docs previously were).
then it lights up green and they are properly authenticated.

I'm not sure what is being done wrong (code or docs), so i'd like to see about pinning it
down. It seems to affect most 2.1.x versions including the current one (2.1.7). I'm not
at all sure about 2.0.x versions.

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