IdentityServer / IdentityServer3.AccessTokenValidation

OWIN Middleware to validate access tokens from IdentityServer3
Apache License 2.0
91 stars 149 forks source link

Q: WebAPI #73

Closed danielwertheim closed 8 years ago

danielwertheim commented 8 years ago

Following your guides on securing an WebAPI using this lib. My questiong is, if the API needs some simple claims like role, is there anyway those can be extracted from the token so that you don't have to look those claims up using get user info?

brockallen commented 8 years ago

You can configure the Claims on the (resource) Scope configuration in IdSvr to include additional claims about the user in the access token.