DuendeSoftware / Support

Support for Duende Software products
20 stars 0 forks source link

What's the best way to populate user claims in access token? #193

Closed VijayKaravadra closed 1 year ago

VijayKaravadra commented 1 year ago

Which version of Duende IdentityServer are you using? 6.1.0

Which version of .NET are you using? 6.0.1

Question

What's the best way to populate user claims in the access token controlled by the request?

i.e. If I pass a scope in the OAuth Code Flow request then only a user-specific claim should be populated in the access token.

brockallen commented 1 year ago

I'd suggest reading up in our docs as we describe our programming model and how it related to user, claims, and client requests:

https://docs.duendesoftware.com/identityserver/v6/fundamentals/claims/

https://docs.duendesoftware.com/identityserver/v6/fundamentals/resources/