Skip to content

Token for amLoggedInAs should be configurable #165

Closed
@codedge

Description

@codedge

I am testing some functionality regarding login and logout with an external OpenID provider. For that, I depend on some attributes that are set on the token.
In Symfony Tokens can have so called attributes. See TokenInterface (https://github.com/symfony/security-core/blob/6.2/Authentication/Token/TokenInterface.php#L76).

When using this modules amLoggedInAs method, I cannot modify the returned token,
This token generation should be switched to an approach, where I can control the token, f. ex. setting some attributes on the token.

And so my logic, that depends on attributes for the token fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions