Question: what is the difference between service provider and identity provider?
Answer: An identity provider is a trusted provider that lets you use single sign-on (SSO) to access other websites. A service provider is a website that hosts apps. Your users can then access other apps directly from Salesforce using SSO. ...