(self)
| 82 | return {"enabled": cfg.CONF.auth.sso} |
| 83 | |
| 84 | def get(self): |
| 85 | try: |
| 86 | result = self._get_sso_enabled_config() |
| 87 | return process_successful_response(http_client.OK, result) |
| 88 | except Exception: |
| 89 | LOG.exception("Error encountered while getting SSO configuration.") |
| 90 | result = {"enabled": False} |
| 91 | return process_successful_response(http_client.OK, result) |
| 92 | |
| 93 | |
| 94 | CALLBACK_SUCCESS_RESPONSE_BODY = """ |