If you choose to use Salesforce as your identity provider while using single sign on, follow this guide to ensure the correct settings for your app integration or refer to Salesforce's Integrate Service Providers as Connected Apps with SAML 2.0 documentation.