Inbal Zelinger, a software engineer at Twingate, explains how to build a SAML service provider using PySAML2. She provides an overview of the Security Assertion Markup Language (SAML) and its use in single sign-on (SSO). The article covers the user flow for SP-initiated SSO integration, configuration settings, and implementation details. Inbal shares her team's findings on building a multi-tenant service provider using Django and PySAML2, including creating a custom metadata loader and configuring the `saml2.config.Config` class. She also provides Django views for SAML endpoints, including login and assertion consumer service views. The article concludes with instructions on how to create a new SAML app in an IdP and integrate it with a Django server.