Skip to content

Deploy broken in v7.23.0: SCIM support for connection management requires read:scim_config scope or update to excluded_props #924

@bweisberger

Description

@bweisberger

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

We successfully deployed as recently as two days ago, but suddenly our deploys are breaking with the following error:
error: SCIM request failed with statusCode 403 (insufficient_scope). Insufficient scope, expected any of: read:scim_config.

Looking at the auth0-deploy-cli repo, I can see this PR to add SCIM configuration management was merged yesterday.

We do use the a0deploy cli tool to manage our connections. Our deploy script installs the package without pinning a version, so I'm assuming it is installing the latest version:

npm install -g auth0-deploy-cli

We don't have the read:scim_config permission enabled for our Auth0 Deploy CLI client in Auth0, and we don't have the connections.scim_configuration property in our excluded props. I'm reasoning we shouldn't have to make a code change without a major version update.

Thanks for your help!

Expectation

Installing the latest minor version of the auth0-deploy-cli package should not require code updates or cause deploys to fail.

Reproduction

  1. Given your Auth0 Deploy CLI client does not have the read:scim_config scope, and connections.scim_configuration is not an excluded prop
  2. When you download the latest minor version (7.23.0) of the auth0-deploy-cli npm package and run a0deploy import to deploy IaC
  3. The deploy will fail with an error that the read:scim_config scope is required.

Deploy CLI version

7.23.0

Node version

16.20.2

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