What happened?
Description
User Impersonation-Link does not work
"Sign in as" works as expected, only the Impersonation-Link seems broken
Additional Info: The CMS runs in Headless-Mode
Steps to reproduce
1.User -> Copy impersonation URL… -> Call Url
Expected behavior
Login as impersonated User
Actual behavior
Getting redirected to the login page
Craft CMS version
4.5.3
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions