This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
An Identity Provider (IdP), also known as Identity Assertion Provider, is responsible for (a) providing identifiers for users looking to interact with a system, (b) asserting to such a system that such an identifier presented by a user is known to the provider, and (c) possibly providing other information about the user that is known to the provider. This may be achieved via an authentication module which verifies a security token that can be accepted as an alternative to repeatedly explicitly authenticating a user within a security realm.
An example of this could be where a website, application or service allows users to log in with the credentials from a social networking service like Facebook or Twitter; these services will act as Identity providers. The social networking service verifies that the user is an authorized user and returns information to the website - e.g. username and email address (specific details might vary). This authentication system is called Social login.
In perimeter authentication, a user needs to be authenticated only once (single sign-on). The user obtains a security token which is then validated by an Identity provider for each system that the user needs to access.
Service provider vs. Identity provider
"Provider" is a generic way of referring to both IdPs (Identity Providers) and SPs (Service Providers). There are overlaps when it comes to defining Identity providers vs. Service Providers. According to the OASIS organization that created SAML, an Identity provider is defined as "A kind of provider that creates, maintains, and manages identity information for principals and provides principal authentication to other service providers within a federation, such as with web browser profiles."
In this respect, Salesforce defines an Identity provider as a trusted provider that allow users to make use of a single sign-on property to access other websites where a service provider is no more than a website that hosts applications while Ping Identity sees the Service provider as a business-process outsourcing vendor or a SaaS provider who wants to simplify client access to its services and the Identity provider can be an enterprise that manages a large number of user accounts who may need secure Internet access to the Web-based applications or services of customers, employees or business partners.
A service provider is "A role donned by a system entity where the system entity provides services to principals or other system entities", and a Federation is "An association comprising any number of service providers and identity providers." 
In simple terms and as they relate to identity management, an Identity Provider can be described as a Service Provider for storing identity profiles and offering incentives to other SPs with the aim of federating user identities. It should be noted however that Identity Providers can also provide services beyond those related to the storage of identity profiles.
- Using Cornell Shibboleth for Authentication in your Custom Application, 2014, Shawn Bower, cornell.edu. Retrieved 25 July 2016.
- 9 Things You Should Know About Social Login & CRO, 2014, Rakish Soni, conversionxl.com. Retrieved 25 July 2016.
- "Identity Assertion Providers".
- Corporate Identity Providers, ondemand.com. Retrieved 25 July 2016.
- Glossary for the OASIS Security Assertion Markup Language (SAML) V2.0, 2005, oasis-open.org. Retrieved 25 July 2016.
- Cloud Authorization Use Cases Version 1.0, 2014, oasis-open.org. Retrieved 25 July 2016.
- Mapping European IDABC Authentication Levels to SAML 2.0 - Gap analysis and recommendations, 2008, oasis-open.org. Retrieved 25 July 2016.
- Identity Providers and Service Providers, salesforce.com. Retrieved 25 July 2016.
- Service Providers and Identity Providers, pingidentity.com. Retrieved 25 July 2016.
- Oasis, "Glossary for the OASIS Security Assertion Markup Language (SAML) V2.0"
- IdP (Identity Provider), mit.edu. Retrieved 25 July 2016.
- Identity Provider Deployment, 2008, UK Access Management Federation for Education and Research. Retrieved 25 July 2016.
- Shibboleth identity provider offers improved access and identity management, 2015, jisc.ac.uk. Retrieved 25 July 2016.
- You get what you pay for: managing customer access to content in a world of freemium, subscriptions and paywalls, 2015, 10duke.com. Retrieved 25 July 2016.