Skip to content

Config discovery fallback breaks on empty configuration #183

Description

@b-long

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions