Skip to content

Commit d9f4f4d

Browse files
committed
chore: update Auth0 CLI action
1 parent 49e3917 commit d9f4f4d

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/actions/setup-auth0-cli/action.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: 'Setup Auth0 CLI'
2-
description: 'Installs and authorizes the Auth0 CLI'
1+
name: "Setup Auth0 CLI"
2+
description: "Installs and authorizes the Auth0 CLI for use with ACUL"
33
inputs:
44
auth0-domain:
5-
description: 'Auth0 domain'
5+
description: "Auth0 domain"
66
required: true
77
auth0-client-id:
8-
description: 'Auth0 client ID for M2M API access'
8+
description: "Auth0 client ID for M2M API access"
99
required: true
1010
auth0-client-secret:
11-
description: 'Auth0 client secret for M2M API access'
11+
description: "Auth0 client secret for M2M API access"
1212
required: true
1313
runs:
14-
using: 'composite'
14+
using: "composite"
1515
steps:
1616
- name: Install Auth0 CLI
1717
shell: bash
@@ -32,9 +32,7 @@ runs:
3232
echo "Attempting to log in to Auth0 CLI for domain: $AUTH0_DOMAIN"
3333
# Log in Universal Login customization
3434
auth0 login \
35-
--domain "$AUTH0_DOMAIN" \
36-
--client-id "$AUTH0_CLIENT_ID" \
37-
--client-secret "$AUTH0_CLIENT_SECRET"
35+
--domain ${{ inputs.auth0-domain }} \
36+
--client-id ${{ inputs.auth0-client-id }} \
37+
--client-secret ${{ inputs.auth0-client-secret }}
3838
echo "✅ Auth0 CLI authorized."
39-
# Verify connection by listing prompts
40-
auth0 prompts list

0 commit comments

Comments
 (0)