auth0-deploy-cli 8.4.2 → 8.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -1
- package/lib/context/defaults.js +7 -0
- package/lib/context/defaults.js.map +1 -1
- package/lib/tools/auth0/handlers/emailProvider.js +3 -3
- package/lib/tools/auth0/handlers/emailProvider.js.map +1 -1
- package/package.json +2 -2
- package/.env +0 -23
- package/.idea/auth0-deploy-cli.iml +0 -9
- package/.idea/codeStyles/Project.xml +0 -21
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/dataSources/53dc7cd8-836e-41a8-bc7c-7c4e80365ccf/storage_v2/_src_/schema/main.uQUzAA.meta +0 -2
- package/.idea/dataSources/53dc7cd8-836e-41a8-bc7c-7c4e80365ccf.xml +0 -1649
- package/.idea/dataSources.local.xml +0 -17
- package/.idea/dataSources.xml +0 -23
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.nyc_output/6d6dd363-e875-4f60-97c0-94948f976671.json +0 -57323
- package/.nyc_output/c342a72c-fa08-4b19-8b2b-60a89c746c94.json +0 -1
- package/.nyc_output/d7def0bb-33c9-4d0d-aee9-8b5cbe59fe9f.json +0 -1
- package/.nyc_output/processinfo/6d6dd363-e875-4f60-97c0-94948f976671.json +0 -150
- package/.nyc_output/processinfo/c342a72c-fa08-4b19-8b2b-60a89c746c94.json +0 -18
- package/.nyc_output/processinfo/d7def0bb-33c9-4d0d-aee9-8b5cbe59fe9f.json +0 -24
- package/.nyc_output/processinfo/index.json +0 -394
- package/Makefile +0 -19
- package/config-ACUL.json +0 -7
- package/config-brucke-tenant.json +0 -6
- package/config-kushal-dev.json +0 -8
- package/config-sdk-cdt-service-tenant.json +0 -47
- package/docs/authenticating-with-tenant.md +0 -34
- package/docs/available-resource-config-formats.md +0 -19
- package/docs/configuring-the-deploy-cli.md +0 -180
- package/docs/excluding-from-management.md +0 -95
- package/docs/how-to-contribute.md +0 -49
- package/docs/keyword-replacement.md +0 -83
- package/docs/multi-environment-workflow.md +0 -98
- package/docs/resource-specific-documentation.md +0 -284
- package/docs/terraform-provider.md +0 -20
- package/docs/using-as-cli.md +0 -89
- package/docs/using-as-node-module.md +0 -114
- package/docs/v8_MIGRATION_GUIDE.md +0 -46
- package/examples/directory/README.md +0 -167
- package/examples/directory/actions/action-example/code.js +0 -4
- package/examples/directory/actions/action-example.json +0 -24
- package/examples/directory/clients/My SPA.json +0 -40
- package/examples/directory/config.json.example +0 -20
- package/examples/directory/connections/facebook.json +0 -60
- package/examples/directory/database-connections/users/change_email.js +0 -4
- package/examples/directory/database-connections/users/change_password.js +0 -4
- package/examples/directory/database-connections/users/create.js +0 -4
- package/examples/directory/database-connections/users/database.json +0 -20
- package/examples/directory/database-connections/users/delete.js +0 -4
- package/examples/directory/database-connections/users/get_user.js +0 -4
- package/examples/directory/database-connections/users/login.js +0 -4
- package/examples/directory/database-connections/users/verify.js +0 -4
- package/examples/directory/emails/blocked_account.html +0 -5
- package/examples/directory/emails/blocked_account.json +0 -10
- package/examples/directory/emails/enrollment_email.html +0 -5
- package/examples/directory/emails/enrollment_email.json +0 -8
- package/examples/directory/emails/mfa_oob_code.html +0 -5
- package/examples/directory/emails/mfa_oob_code.json +0 -8
- package/examples/directory/emails/provider.json +0 -10
- package/examples/directory/emails/reset_email.html +0 -5
- package/examples/directory/emails/reset_email.json +0 -10
- package/examples/directory/emails/stolen_credentials.html +0 -5
- package/examples/directory/emails/stolen_credentials.json +0 -8
- package/examples/directory/emails/verify_email.html +0 -5
- package/examples/directory/emails/verify_email.json +0 -10
- package/examples/directory/emails/verify_email_by_code.html +0 -5
- package/examples/directory/emails/verify_email_by_code.json +0 -8
- package/examples/directory/emails/welcome_email.html +0 -5
- package/examples/directory/emails/welcome_email.json +0 -8
- package/examples/directory/grants/m2m_myapp_api.json +0 -7
- package/examples/directory/guardian/factors/email.json +0 -4
- package/examples/directory/guardian/factors/otp.json +0 -4
- package/examples/directory/guardian/factors/push-notification.json +0 -4
- package/examples/directory/guardian/factors/sms.json +0 -4
- package/examples/directory/guardian/phoneFactorMessageTypes.json +0 -6
- package/examples/directory/guardian/phoneFactorSelectedProvider.json +0 -3
- package/examples/directory/guardian/policies.json +0 -5
- package/examples/directory/guardian/providers/sms-twilio.json +0 -7
- package/examples/directory/guardian/templates/sms.json +0 -5
- package/examples/directory/hooks/client-credentials-exchange.js +0 -22
- package/examples/directory/hooks/client-credentials-exchange.json +0 -12
- package/examples/directory/pages/login.html +0 -6
- package/examples/directory/pages/login.json +0 -4
- package/examples/directory/pages/password_reset.html +0 -6
- package/examples/directory/pages/password_reset.json +0 -4
- package/examples/directory/prompts/custom-text.json +0 -9
- package/examples/directory/prompts/prompts.json +0 -6
- package/examples/directory/prompts/screenRenderSettings/login-id_login-id.json +0 -33
- package/examples/directory/prompts/screenRenderSettings/signup-id_signup-id.json +0 -20
- package/examples/directory/resource-servers/My API.json +0 -19
- package/examples/directory/roles/Admin.json +0 -14
- package/examples/directory/roles/User.json +0 -10
- package/examples/directory/rules/Enrich-Identity-Token.js +0 -10
- package/examples/directory/rules/Enrich-Identity-Token.json +0 -7
- package/examples/directory/rules-configs/SOME_SECRET.json +0 -4
- package/examples/directory/tenant.json +0 -8
- package/examples/directory/triggers/triggers.json +0 -18
- package/examples/yaml/README.md +0 -111
- package/examples/yaml/actions/action-example/code.js +0 -4
- package/examples/yaml/config.json.example +0 -20
- package/examples/yaml/databases/users/change_email.js +0 -4
- package/examples/yaml/databases/users/change_password.js +0 -4
- package/examples/yaml/databases/users/create.js +0 -4
- package/examples/yaml/databases/users/delete.js +0 -4
- package/examples/yaml/databases/users/get_user.js +0 -4
- package/examples/yaml/databases/users/login.js +0 -4
- package/examples/yaml/databases/users/verify.js +0 -4
- package/examples/yaml/emails/change_email.html +0 -5
- package/examples/yaml/hooks/client-credentials-exchange.js +0 -22
- package/examples/yaml/pages/error_page.html +0 -6
- package/examples/yaml/pages/guardian_multifactor.html +0 -6
- package/examples/yaml/pages/login.html +0 -6
- package/examples/yaml/pages/password_reset.html +0 -6
- package/examples/yaml/prompts/screenRenderSettings/login-id_login-id.json +0 -33
- package/examples/yaml/prompts/screenRenderSettings/signup-id_signup-id.json +0 -20
- package/examples/yaml/rules/enrich_tokens.js +0 -10
- package/examples/yaml/tenant.yaml +0 -202
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
# Auth0-Deploy-CLI Tenant YAML Configuration
|
|
2
|
-
|
|
3
|
-
tenant:
|
|
4
|
-
# Any tenant settings can go here https://auth0.com/docs/api/management/v2#!/Tenants/get_settings
|
|
5
|
-
friendly_name: 'Auth0 Deploy Example'
|
|
6
|
-
|
|
7
|
-
pages:
|
|
8
|
-
- name: "login"
|
|
9
|
-
html: "pages/login.html"
|
|
10
|
-
|
|
11
|
-
- name: "password_reset"
|
|
12
|
-
html: "pages/password_reset.html"
|
|
13
|
-
|
|
14
|
-
- name: "guardian_multifactor"
|
|
15
|
-
html: "pages/guardian_multifactor.html"
|
|
16
|
-
enabled: false
|
|
17
|
-
|
|
18
|
-
- name: "error_page"
|
|
19
|
-
html: "pages/error_page.html"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
clients:
|
|
23
|
-
-
|
|
24
|
-
name: "My SPA"
|
|
25
|
-
app_type: "spa"
|
|
26
|
-
# Add other client settings https://auth0.com/docs/api/management/v2#!/Clients/post_clients
|
|
27
|
-
-
|
|
28
|
-
name: "My M2M"
|
|
29
|
-
app_type: "non_interactive"
|
|
30
|
-
# Add other client settings https://auth0.com/docs/api/management/v2#!/Clients/post_clients
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
databases:
|
|
34
|
-
- name: "users"
|
|
35
|
-
enabled_clients:
|
|
36
|
-
- "My SPA"
|
|
37
|
-
options:
|
|
38
|
-
enabledDatabaseCustomization: true
|
|
39
|
-
customScripts:
|
|
40
|
-
login: "databases/users/login.js"
|
|
41
|
-
create: "databases/users/create.js"
|
|
42
|
-
delete: "databases/users/delete.js"
|
|
43
|
-
get_user: "databases/users/get_user.js"
|
|
44
|
-
change_email: "databases/users/change_email.js"
|
|
45
|
-
change_password: "databases/users/change_password.js"
|
|
46
|
-
verify: "databases/users/verify.js"
|
|
47
|
-
|
|
48
|
-
connections:
|
|
49
|
-
- name: "myad-waad"
|
|
50
|
-
strategy: "waad"
|
|
51
|
-
enabled_clients:
|
|
52
|
-
- "My SPA"
|
|
53
|
-
options:
|
|
54
|
-
tenant_domain: 'office.com'
|
|
55
|
-
client_id: 'some_client_id'
|
|
56
|
-
client_secret: 'some_client_secret'
|
|
57
|
-
domain: 'office.com'
|
|
58
|
-
waad_protocol: 'openid-connect'
|
|
59
|
-
api_enable_users: true
|
|
60
|
-
basic_profile: true
|
|
61
|
-
ext_profile: true
|
|
62
|
-
ext_groups: true
|
|
63
|
-
# Add other connection settings (https://auth0.com/docs/api/management/v2#!/Connections/post_connections)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
resourceServers:
|
|
67
|
-
-
|
|
68
|
-
name: "My API"
|
|
69
|
-
identifier: "https://##ENV##.myapp.com/api/v1"
|
|
70
|
-
scopes:
|
|
71
|
-
- value: "update:account"
|
|
72
|
-
description: "update account"
|
|
73
|
-
- value: "read:account"
|
|
74
|
-
description: "read account"
|
|
75
|
-
# Add other resource server settings (https://auth0.com/docs/api/management/v2#!/Resource_Servers/post_resource_servers)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
emailProvider:
|
|
79
|
-
name: "smtp"
|
|
80
|
-
enabled: true
|
|
81
|
-
credentials:
|
|
82
|
-
smtp_host: "smtp.mailtrap.io"
|
|
83
|
-
smtp_port: 2525
|
|
84
|
-
smtp_user: "smtp_user"
|
|
85
|
-
smtp_pass: "smtp_secret_password"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
emailTemplates:
|
|
89
|
-
- template: "verify_email"
|
|
90
|
-
enabled: true
|
|
91
|
-
syntax: "liquid"
|
|
92
|
-
from: "test@email.com"
|
|
93
|
-
subject: "something"
|
|
94
|
-
body: "emails/change_email.html"
|
|
95
|
-
|
|
96
|
-
- template: "welcome_email"
|
|
97
|
-
enabled: true
|
|
98
|
-
syntax: "liquid"
|
|
99
|
-
from: "test@email.com"
|
|
100
|
-
subject: "something"
|
|
101
|
-
body: "emails/change_email.html"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
clientGrants:
|
|
105
|
-
- client_id: "My M2M"
|
|
106
|
-
audience: "https://##ENV##.myapp.com/api/v1"
|
|
107
|
-
scope:
|
|
108
|
-
- "update:account"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
guardianFactors:
|
|
112
|
-
- name: sms
|
|
113
|
-
enabled: true
|
|
114
|
-
- name: push-notification
|
|
115
|
-
enabled: true
|
|
116
|
-
- name: otp
|
|
117
|
-
enabled: true
|
|
118
|
-
- name: email
|
|
119
|
-
enabled: false
|
|
120
|
-
- name: duo
|
|
121
|
-
enabled: false
|
|
122
|
-
|
|
123
|
-
guardianFactorProviders:
|
|
124
|
-
- name: sms
|
|
125
|
-
provider: twilio
|
|
126
|
-
auth_token: "some_token"
|
|
127
|
-
sid: "some_sid"
|
|
128
|
-
messaging_service_sid: "some_message_sid"
|
|
129
|
-
|
|
130
|
-
guardianFactorTemplates:
|
|
131
|
-
- name: sms
|
|
132
|
-
enrollment_message: >-
|
|
133
|
-
{{code}} is your verification code for {{tenant.friendly_name}}. Please
|
|
134
|
-
enter this code to verify your enrollment.
|
|
135
|
-
verification_message: '{{code}} is your verification code for {{tenant.friendly_name}}'
|
|
136
|
-
|
|
137
|
-
guardianPhoneFactorMessageTypes:
|
|
138
|
-
message_types:
|
|
139
|
-
- sms
|
|
140
|
-
- voice
|
|
141
|
-
|
|
142
|
-
guardianPhoneFactorSelectedProvider:
|
|
143
|
-
provider: twilio
|
|
144
|
-
|
|
145
|
-
guardianPolicies:
|
|
146
|
-
policies:
|
|
147
|
-
- all-applications
|
|
148
|
-
|
|
149
|
-
roles:
|
|
150
|
-
- name: Admin
|
|
151
|
-
description: App Admin
|
|
152
|
-
permissions:
|
|
153
|
-
- permission_name: 'update:account'
|
|
154
|
-
resource_server_identifier: 'https://##ENV##.myapp.com/api/v1'
|
|
155
|
-
- permission_name: 'read:account'
|
|
156
|
-
resource_server_identifier: 'https://##ENV##.myapp.com/api/v1'
|
|
157
|
-
- name: User
|
|
158
|
-
description: App User
|
|
159
|
-
permissions:
|
|
160
|
-
- permission_name: 'read:account'
|
|
161
|
-
resource_server_identifier: 'https://##ENV##.myapp.com/api/v1'
|
|
162
|
-
|
|
163
|
-
actions:
|
|
164
|
-
- name: action-example
|
|
165
|
-
code: ./actions/action-example/code.js
|
|
166
|
-
dependencies:
|
|
167
|
-
- name: lodash
|
|
168
|
-
version: 4.17.21
|
|
169
|
-
deployed: true
|
|
170
|
-
secrets:
|
|
171
|
-
- name: MY_SECRET
|
|
172
|
-
value: _VALUE_NOT_SHOWN_
|
|
173
|
-
status: built
|
|
174
|
-
supported_triggers:
|
|
175
|
-
- id: post-login
|
|
176
|
-
version: v1
|
|
177
|
-
|
|
178
|
-
triggers:
|
|
179
|
-
credentials-exchange: []
|
|
180
|
-
post-change-password: []
|
|
181
|
-
post-login:
|
|
182
|
-
- action_name: action-example
|
|
183
|
-
display_name: action-example-display-name
|
|
184
|
-
post-user-registration: []
|
|
185
|
-
pre-user-registration: []
|
|
186
|
-
send-phone-message: []
|
|
187
|
-
|
|
188
|
-
prompts:
|
|
189
|
-
customText:
|
|
190
|
-
en:
|
|
191
|
-
login-id:
|
|
192
|
-
login-id:
|
|
193
|
-
invalid-email-format: Email is not valid.
|
|
194
|
-
enable_ulp_wcag_compliance: false
|
|
195
|
-
identifier_first: false
|
|
196
|
-
partials: {}
|
|
197
|
-
screenRenderers:
|
|
198
|
-
- signup-id:
|
|
199
|
-
signup-id: ./prompts/screenRenderSettings/signup-id_signup-id.json
|
|
200
|
-
- login-passwordless:
|
|
201
|
-
login-passwordless-email-code: ./prompts/screenRenderSettings/login-passwordless_login-passwordless-email-code.json
|
|
202
|
-
login-passwordless-sms-otp: ./prompts/screenRenderSettings/login-passwordless_login-passwordless-sms-otp.json
|