To set up this very basic example of federation, complete the following tasks.
Configuring Site A to Trust Site B as a Service Provider
Configuring Site B to Trust Site A as an Identity Provider
Verifying the Trust Relationship
Configuring User Authentication