You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs for the auth0 actions category, you can supply secrets through multiple -s or --secret flags, but from what I found, only the last secret is taken into account.
Expectation
I should be able to supply multiple secrets to an action through the CLI.
Reproduction
Run this command auth0 actions create -n test-post-login -t post-login -c "test" -s "TEST1=1" -s "TEST2=2"
Have a look on the Auth0 dashboard, in your new Custom Action's secrets tab. You'll see that only TEST2 can be seen.
Auth0 CLI version
auth0 version 1.0.1 15dd3c4559c46c8e3dd5a4d0d9b4a849fea0cb1a
The text was updated successfully, but these errors were encountered:
@Tenrys Nice find! You're correct about the bug here, you should be able to pass multiple secrets to the CLI. As you've also discovered, this is due to the reassignment of a pointer inside the loop. Apologies about the duplicate PR, I had already begun looking into it. Rest assured that this will be included in an upcoming release very soon! Thanks for your help.
Checklist
Description
According to the docs for the
auth0 actions
category, you can supply secrets through multiple-s
or--secret
flags, but from what I found, only the last secret is taken into account.Expectation
I should be able to supply multiple secrets to an action through the CLI.
Reproduction
auth0 actions create -n test-post-login -t post-login -c "test" -s "TEST1=1" -s "TEST2=2"
TEST2
can be seen.Auth0 CLI version
auth0 version 1.0.1 15dd3c4559c46c8e3dd5a4d0d9b4a849fea0cb1a
The text was updated successfully, but these errors were encountered: