IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Client Specific Roles With IDS4

Open CShelton11 opened this issue 7 years ago • 3 comments

How might one go about having only client specific roles passed to a client in the token. Def not my preference, but it has been requested of me. Effectively they are looking to use ids4 to manage access in each application so they can simply use the claims principal to determine privilege within each client. Hoping that you'll have a simple solution or recommendation....

CShelton11 avatar May 16 '19 02:05 CShelton11

When you implement IProfileService you have all the information you need to emit whatever claims to whatever client.

https://identityserver4.readthedocs.io/en/latest/reference/profileservice.html

leastprivilege avatar May 16 '19 08:05 leastprivilege

Worked Perfectly. Really appreciate it.

CShelton11 avatar May 17 '19 04:05 CShelton11

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 11 '20 11:01 lock[bot]