IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

how to "IncludeAllClaimsForUser = true" in the new version

Open behrooz66 opened this issue 9 years ago • 2 comments

Up to the RC3 version where there was still the notion of "Scopes" we could create a scope and set the "IncludeAllClaimsForUser" property on it to through, and then by implementing the IProfileService interface we could add exactly each claim that we wanted to the access token.

Now that the ApiResource has replaced the "Scope", I cannot find that setting anymore. And therefore when I send an authentication request using Postman my implementation of the IProfileService doesn't event get hit (resource owner password grant).

Is there an equivalent to that "IncludeAllClaimsForUser" property somewhere in the new version?

behrooz66 avatar Jan 09 '17 15:01 behrooz66

Add the claims you need/want to the UserClaims or write a custom profile service to emit all the claims.

brockallen avatar Jan 09 '17 16:01 brockallen

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 15 '20 04:01 lock[bot]