configuration = config_doc.get("configuration") or config_doc in sdk_builder.py:278 uses truthiness, not is not None. If a platform response ever legitimately returns "configuration": {}, this silently falls back to the full outer response instead of the empty dict, and a stray top-level idp key (if one exists) would get misread as the IDP config.
configuration = config_doc.get("configuration") or config_docin sdk_builder.py:278 uses truthiness, notis not None. If a platform response ever legitimately returns"configuration": {}, this silently falls back to the full outer response instead of the empty dict, and a stray top-levelidpkey (if one exists) would get misread as the IDP config.