Cross domain impersonate

We usually login to the admin console on our own url (e.g. and we set a different frontend url for a specific realm (e.g.

I’ve set these java opts


and the problem is that when I click on impersonate in the admin console I get redirected to the login page in the realm domain (

It seems impossible to impersonate a user on a realm which frontend url is different than the console admin url?