Issue Description
When using an external OIDC as directory, it seems we can’t use impersonation on the /account web-ui
Expected Behavior
Using target@domain%admin@domain on the /account login form should redirect me to my OIDC auth page, where I can login as admin@domain, and then I should be logged as target@domain
Actual Behavior
Using target@domain%admin@domain on the /account login form, I’m correctly redirected to my OIDC auth page, where I login as admin@domain. Then I’m redirected back on the /account web-ui, but logged in as admin@domain instead of target@domain
Reproduction Steps
- Configure an external OIDC as directory
- Try to login on /account using impersonation format target%admin
- Once authenticated on the external OIDC, you’re back on the /account Web UI, but as admin instead of target
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
PostgreSQL
Blob Storage
PostgreSQL
Search Engine
PostgreSQL
Directory Backend
OIDC
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on
