简体   繁体   中英

How do I request additional claims from Passive STS with WIF?

I have the following:

  1. A website ASP.Net application acting as an Identity Provider (IDP STS)
  2. Federation Provider (FP STS)
  3. A Resource ASP.NET MVC WebSite acting as (RP)

when trying to access a Resource in RP, it goes thru the FP STS and gets redirected to IDP STS. User puts their credentials and upon validity of that, IDP provides some claims that are passed to FP STS and then sent back to RP. on the RP side, claims are received and resource is proivded. How do i make additional claim requests from RP?

Any suggestions or direction would be great! Thank you,

The FP should provide the claims you need, whether by trasnforming the claims it gets from the IdP or by adding any missing ones.

In the classic setting, the FP knows about all the claims needed by the RPs that trust in it.

Is anything preventing you from getting those?

Sometimes, provinding all claims needed at once is not possible. For example, some eventually needed claims for a user might be to expensive to obtain and they might not be actually needed. In those situations, you can use this techinque: http://msdn.microsoft.com/en-us/library/ee517290.aspx

(Caveat: I haven't implemented or used it)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM