Using SAML for anonymous authorization

SAML could be used for performing anonymous (more precisely pseudonymous) authorization in the following way:

  1. A user contacts a relying party for a particular service.
  2. The RP returns a request for a set of attributes that it requires to allow access.
  3. The user agent formulates a request to its SAML IdP for a signed attribute statement about that set of attributes.
  4. The IdP returns that statement, signed with its key.
  5. The client forwards that statement to the RP.
  6. The RP verifies the signature against the public key of the issuer.

In this scenario, the IdP does not know anything about the RP, and can not associate the particular user request with the public key request from the RP (unless the IdP is really obscure and serves only a very few users). The RP only knows about the attributes that were asserted in the statement.

The obvious drawback is that the IdP has a lot of knowledge about the user. This issue can be mediated by putting a user trusted-broker between the user and the IdP and the user.

Leave a Reply

Your email address will not be published. Required fields are marked *