Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Creating a hook throws an exception #222

Description

@dhayalakumarc

Creation of hooks with CLI throws "Unauthorized"

  • bin/auth0 create -t post-user-registration --name create-ds-user -p abcdef-default myjsfile.js --secret client_id= --secret client_secret=
    Uncaught error: Unauthorized
    Error: Unauthorized
    at Request.callback (/home/ubuntu/workspace/xxx/xxx/xxx/hooks/auth0-hooks-create/Auth0-wt-cli/node_modules/superagent/lib/node/index.js:686:11)
    at IncomingMessage. (/home/ubuntu/workspace/xxx/xxx/xxx/hooks/auth0-hooks-create/Auth0-wt-cli/node_modules/superagent/lib/node/index.js:868:18)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    Please report this at: https://github.com/auth0/wt-cli/issues

In addition ls also gives "Unauthorized"
auth0 ls -p abcdef-default

I tried on wt-cli version 9.5.0 and 10.0.3 and still same error.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions