POST /auth/staff/sync-identities upserts a unified identity per internal Authentik user, resolving Employee + Dispatch Technician and deriving email aliases from the company email. Resolve-first: merges into an existing identity's key and never overwrites a manual label/tech/alias (fixes Louis-Paul, whose login louis@targo.ca ≠ employee email louispaul@); employee lookup is alias-aware so louispaul@ finds HR-EMP-4. "Lier les identités" button in the Staff console. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| client | ||
| field-tech | ||
| ops | ||
| portal | ||
| website | ||
| website-vue | ||