-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect to /connect/authorize IdP using User Switching Plugin + SSO enabled #564
Comments
This is not really a bug. This plugin doesn't support use with user switching/impersonation. It is essentially against using SSO/an IDP to impersonate another user. |
I agree with you about impersonating another user, but my client needs this feature. Thanks for your time and quick answer |
@alextochetto i just tried to reproduce since we do have the same requirement. Sadly i can't. Do you have some more details? |
@JUVOJustin , how did you configure the environment?
The wordpress will try to switch, but keep the actual user logged and cancel the switch |
@timnolte , are you interested in being paid for this enhancement? |
@alextochetto you are right i did not configure Auto Login. Will check and give it a try. |
Describe the bug
After login in a IdP, use the User Switching plugin to impersonate another user and a happens to /connect/authorize of IdP. This redirect authenticate the same user and the impersonate comes back to the logged user. If the login uses the button in form login, this scenario doesn't happen and everything works fine.
To Reproduce
Steps to reproduce the behavior:
Screenshots

Expected behavior
Impersonate to user 'Y' as the same way when the configuration hasn't SSO enabled
WordPress Environment
The text was updated successfully, but these errors were encountered: