An identity provider (IdP) is a trusted third party that provides authentication services to other parties, such as the portal in this case. The IdP authenticates users and issues security tokens that contain assertions about the user's identity. A service provider (SP) is a party that provides services to users. The SP uses the security tokens issued by the IdP to authenticate users and grant them access to its services.