Skip to content

switch user doesn't work #1

@cctgteddy

Description

@cctgteddy

Here is part of my security.yaml

    firewalls:
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false
        main:
            switch_user: true
            lazy: true
            security: true
            guard:
                authenticators:
                    - cas.security.authentication.authenticator

adding ?_switch_user=targetuser to the URL works. I have intercept redirects turned on and on the intercept page it shows me as authenticated as the target user but when I follow the redirect it is gone.

Am I missing something? Thanks in advance

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions