Skip to content

auth0 acul init generates sample project using deprecated commands #1547

@jsakas

Description

@jsakas

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 project 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

When using auth0 acul init to generate a sample project for reference, the process-screen.sh contains deprecated commands that fail.

In process-screen.sh, line 103, see auth0 ul customize

AUTH0_OUTPUT="" 
AUTH0_EXIT_CODE=0
set +e 
AUTH0_OUTPUT=$(auth0 ul customize --rendering-mode advanced --prompt "$PROMPT_NAME" --screen "$SCREEN_NAME" --settings-file "$SETTINGS_FILE" 2>&1)
AUTH0_EXIT_CODE=$?
set -e 

Expectation

Generated sample code contains non-deprecated examples.

Reproduction

Run auth0 acul init

Auth0 CLI version

auth0 version 1.31.0 4e67b73

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions