[MGRTENANT-7] mgr-tenants - Impersonation client should have custom token mappers Created: 31/Dec/23 Updated: 31/Dec/23 Resolved: 31/Dec/23 |
|
| Status: | Closed |
| Project: | mgr-tenants |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Story | Priority: | TBD |
| Reporter: | Natalia Zaitseva | Assignee: | Oleksandr Oliinyk |
| Resolution: | Done | Votes: | 0 |
| Labels: | back-end, epam-eureka, eureka-phase4 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | Eureka Sprint 41 | ||||||||
| Story Points: | 2 | ||||||||
| Development Team: | Eureka | ||||||||
| RCA Group: | TBD | ||||||||
| Description |
|
Overview When switching affiliation the token for another tenant is retrieved with impersonation-client, currently, the client doesn't add custom token claims for user_id and username, which are important for _self API. Solution: Add the following token mappers when creating the impersonation client:
Example from the Keycloak for login client:
Unable to render embedded object: File (/slm/attachment/732106904441/image.png) not found.
|