-
-
Notifications
You must be signed in to change notification settings - Fork 766
IncludeAllClaimsForUser not working #621
Comments
If you comment out the Claims property, I guess you've defined a scope without claims? Also, if you want the scopes defined in the standard, there are some helpers you could use instead of doing it yourself. StandardScopes.ProfileAlwaysInclude |
The UserService must support that feature - basically when the include all option is set - we don't send any filter to the GetProfileAsync method on IUserService. This is a sign for the user service to return all claims - but it must be implemented like that. |
Thanks @johnkors for your link.
So seems that if you enable the @leastprivilege : I'm using a custom implementation of MembershipReboot as UserService. I have the "standard" Thanks |
And yeah, I'm taking a look at the MembershipReboot plugin, and it seems that the method |
Then open an issue on the MR repo - or send a PR. thanks - @brockallen fyi |
Hi there,
I'm currently working with IdentityServer v3 Beta 3-4 and I'm testing one of the latest introduced features:
IncludeAllClaimsForUser
.To test it, I'm using the
InMemoryScopeStore
like in your samples, so in myScopes
class I'm defining some scope to test my application.One of this is the classic
openid
scope, which I defined like this:It's actually working, and when I call the
userInfo
endpoint, I correctly getBut, if I comment the
Claims
property and instead uncomment theIncludeAllClaimsForUser
, I get an empty JSON object...Am I doing something wrong? Is there any known issue with this functionality?
Thanks in advance
The text was updated successfully, but these errors were encountered: