Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the relationship between wtrealm, WS-Federation Passive URL and app ID?

I am looking into ADFS integration using Microsoft's OWIN WS-Federation package but I am finding it difficult to determine the purpose of certain parameters from the documentation that is available.

We have three environments, which are all hosted internally on a completely different system to the ADFS system we are trying to authenticate against.

From my research, I have a basic understanding of how the authentication process works but I could use some clarification on where these keywords fit into the Relying Party Trust configuration process, what they are used for and the relationships between them in order to better communicate what setup we need from the (third-party) owner of the ADFS system.

  • The WS-Federation Passive URL
  • The App ID
  • The "wtrealm" parameter that is supplied as a GET parameter to the ADFS login portal.

I understand that the wtrealm parameter corresponds to the app ID in the RPT but where does the WS-Federation URL come in? Is this the URL that the client will be redirected to to authenticate? In that case, do I need a separate RPT for each environment (dev, test, production)? What is the use case for multiple app IDs?

Any light shed on this would be very useful.

like image 420
Ant P Avatar asked Nov 13 '14 16:11

Ant P


People also ask

What is WS-Federation passive URL?

WS-Federation Passive Requestor Profile is a Web Services specification - intended to work with the WS-Federation specification - which defines how identity, authentication and authorization mechanisms work across trust realms.

What is difference between SAML and WS-Federation?

Conceptually, WS-Fed authentication works much the same way as SAML authentication does. The details of what it sends are called different things, but the flow of information is similar. WS-Fed uses a different protocol than SAML, and the information that it needs in the response token is different.

What is WS-Federation in ADFS?

Web Services Federation (WS-Federation) is an identity protocol that allows a Security Token Service (STS) in one trust domain to provide authentication information to an STS in another trust domain when there is a trust relationship between the two domains.

What is WS-Fed and WS trust?

Web Services Federation (WS-Federation or WS-Fed ) is part of the larger WS-Security framework and an extension to the functionality of WS-Trust. The features of WS-Federation can be used directly by SOAP applications and web services. WS-Fed is a protocol that can be used to negotiate the issuance of a token.


1 Answers

This is a confusing issue indeed. There are different standards (SAML, WSfed, OAuth) with their own terms for almost the same thing. These terms are used/confused instead/together in gateways (in a mixed way), causing mingling of terms.

Besides that, a configuration contains both (SAML Token) Issuer (IdP/IP for instance ADFS) properties and Application (SP/RP) properties. To add insult to injury, some people invent their own terminology in the hope that it clarifies things (and not the opposite).

Each party is worldwide uniquely identitfied by its EntityID (in WSFed and SAML Metadata), must be a URI (URL is popular). It is (in WsFed) indeed the wtrealm=AppID.

Besides that, each party has an EndPoint (URL, real address) where it offers functionality (for instance receiving a SAML Token). Federation URL is one of them. Depending on which configuration element you are talking about, it could be IP or RP.

Last but not least there are several (sometimes the same) certificates, one of which is for signing SAML Tokens and normally uniquely identifies (belongs to) the party (EntityID).

like image 194
paullem Avatar answered Oct 24 '22 19:10

paullem