Skip to content

The export does not respect INCLUDED_PROPS for e.g. "client_id" when export_ids is false #1296

@KurtMar

Description

@KurtMar

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this tool and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

The export does not respect INCLUDED_PROPS for e.g. "client_id" when export_ids is false.

Expectation

The expectation is and I believe it used to be the case that client id's were preserved when running the export without ids, but specifying: "clients": [ "client_secret", "client_id" ] in INCLUDED_PROPS.

This will allow retaining of client ids for disaster recovery situations and still allow testing restores, since exporting ids in general will cause a failure when restoring to a test tenant.

Reproduction

  1. export with included props set to "clients": [ "client_secret", "client_id" ] and export_ids set to false
  2. client_id will be missing from the export data

Deploy CLI version

8.26.0

Node version

22

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions