diff --git a/ssoauth/apps.py b/ssoauth/apps.py index e543e5ecb833e1da9689d9a9c180bac7268ad86d..bad7353e4dcf70bbe3ae4a4c72bf35d0d072a24a 100644 --- a/ssoauth/apps.py +++ b/ssoauth/apps.py @@ -21,8 +21,6 @@ class SSOAuthConfig(AppConfig): logger.error("SSO will not work. {ec}: {e}".format(ec=e.__class__.__name__, e=str(e),)) # default groups post_migrate.connect(self.post_migrate_callback, sender=self) - # ... - logger.warning("Need to ensure user.has_usable_password is False") @staticmethod def post_migrate_callback(*args, **kwargs): diff --git a/ssoauth/sso_utils.py b/ssoauth/sso_utils.py index ffa1c53ad06fcb6079590be2c60d00560b6c60a8..449936ee89b32f388cbae12db4188e910fc67df4 100644 --- a/ssoauth/sso_utils.py +++ b/ssoauth/sso_utils.py @@ -11,9 +11,10 @@ def get_idp_runtime_info(meta_url): """ Grab data directly from the running IDP instance """ # fetch the meta try: + logger.info("Fetching IDP meta: {0}".format(meta_url)) io = urllib.request.urlopen(meta_url, timeout=10) except Exception as e: - logger.error("Could not download IDP meta.") + logger.error("Could not download IDP meta: {0}".format(meta_url)) raise e # parse the xml try: