SteeltoeOSS / Security

ASP.NET Security Providers for CloudFoundry
Apache License 2.0
27 stars 9 forks source link

Allow claims definition to be customized #18

Closed AlbertoMonteiro closed 5 years ago

AlbertoMonteiro commented 5 years ago

https://github.com/SteeltoeOSS/Security/blob/360f9af26a6b071cf87e5abddcceda7632a221fe/src/Steeltoe.Security.Authentication.CloudFoundryBase/TokenExchanger.cs#L184-L213

In the code above, Steeltoe create the ClaimsIdentity with only 3 values that came from IDP, I would like to customize this process and add more claims than just name, email and userId.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/164996597

The labels on this github issue will be updated when the story is started.