def METHOD_NAME(self, provider, organization_slug):
    req = prepare_django_request(self.request)
    config = build_saml_config(
        self.request, provider.app.settings, organization_slug
    )
    auth = OneLogin_Saml2_Auth(req, config)
    return auth