when I’m using the impersonate feature, I get redirected to the account-console client. Instead I’d like to get redirect to my own application, so I don’t have to open my application in a new tab manually.
Is there any way to define which url get’s used? I tried to edit the account console client’s root url (and home url), but it didn’t affect the redirect.
That’s part of the implementation in the admin-UI. If you use the impersonation from the admin-UI, you don’t have a chance to change this behavio (unless you build and deploy your custom admin-UI). But you can implement this feature (it’s actually an API call) from somehwere else, you can then redirect wherever you want, it’s not part of the response.