-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-wizard.yml
More file actions
350 lines (325 loc) · 10.7 KB
/
Copy pathsetup-wizard.yml
File metadata and controls
350 lines (325 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
version: "2"
fields:
# ── Auth provider selector ───────────────────────────────────────────────
- id: auth_provider
title: Authentication provider
description: >-
Choose how users sign in to SplitPro. All providers use NextAuth.
Email (SMTP) sends magic-link emails — no password needed.
Google OAuth lets users sign in with their Google account.
OIDC / Keycloak / Authentik use your own identity provider.
You can enable additional providers later via the Config tab.
enum:
- "Email (SMTP)"
- "Google OAuth"
- "OIDC"
- "Keycloak"
- "Authentik"
target:
type: environment
name: AUTH_PROVIDER
service: splitpro
required: true
# ── Email / SMTP fields ──────────────────────────────────────────────────
- id: from_email
target:
type: environment
name: FROM_EMAIL
service: splitpro
title: From email address
description: >-
Sender address for magic-link login emails and invites. Example: splitpro@example.com
Common SMTP providers: Gmail (smtp.gmail.com:587, use an App Password),
Mailgun, Resend, Brevo, Postmark.
required: true
pattern: ^.+@.+\..+$
patternErrorMessage: "Enter a valid email address"
if:
auth_provider:
enum:
- "Email (SMTP)"
- id: email_server_host
target:
type: environment
name: EMAIL_SERVER_HOST
service: splitpro
title: SMTP host
description: >-
SMTP server hostname. Examples: smtp.gmail.com, smtp.mailgun.org, smtp.resend.com
required: true
pattern: ^.{1,253}$
patternErrorMessage: "Enter a valid hostname"
if:
auth_provider:
enum:
- "Email (SMTP)"
- id: email_server_port
target:
type: environment
name: EMAIL_SERVER_PORT
service: splitpro
title: SMTP port
description: >-
Common ports: 587 (STARTTLS, recommended), 465 (SSL/TLS), 25 (insecure).
required: true
pattern: '^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$'
patternErrorMessage: "Enter a valid port number (1-65535)"
if:
auth_provider:
enum:
- "Email (SMTP)"
- id: email_server_user
target:
type: environment
name: EMAIL_SERVER_USER
service: splitpro
title: SMTP username
description: >-
SMTP authentication username. For Gmail, use your full email address.
required: true
pattern: ^.{1,128}$
patternErrorMessage: "Enter the SMTP username (1-128 characters)"
if:
auth_provider:
enum:
- "Email (SMTP)"
- id: email_server_password
target:
type: environment
name: EMAIL_SERVER_PASSWORD
service: splitpro
secret: true
title: SMTP password / API key
description: >-
SMTP authentication password or API key.
For Gmail: create an App Password at myaccount.google.com/apppasswords
(requires 2-Step Verification enabled). Do not use your Gmail account password.
required: true
pattern: ^.{1,256}$
patternErrorMessage: "Enter the SMTP password (1-256 characters)"
if:
auth_provider:
enum:
- "Email (SMTP)"
# ── Google OAuth fields ──────────────────────────────────────────────────
- id: google_client_id
target:
type: environment
name: GOOGLE_CLIENT_ID
service: splitpro
title: Google Client ID
description: >-
OAuth 2.0 client ID from Google Cloud Console.
To get credentials:
1. Go to console.cloud.google.com → APIs & Services → Credentials
2. Create an OAuth 2.0 Client ID (Web application)
3. Add your app URL as an Authorized redirect URI:
https://splitpro.<hash>.dyndns.dappnode.io/api/auth/callback/google
(or your custom domain if you have one)
4. Copy the Client ID here.
required: true
pattern: ^.{10,}$
patternErrorMessage: "Enter a valid Google Client ID"
if:
auth_provider:
enum:
- "Google OAuth"
- id: google_client_secret
target:
type: environment
name: GOOGLE_CLIENT_SECRET
service: splitpro
secret: true
title: Google Client Secret
description: >-
OAuth 2.0 client secret from the same Google Cloud Console credential.
required: true
pattern: ^.{10,}$
patternErrorMessage: "Enter a valid Google Client Secret"
if:
auth_provider:
enum:
- "Google OAuth"
# ── Generic OIDC fields ──────────────────────────────────────────────────
- id: oidc_name
target:
type: environment
name: OIDC_NAME
service: splitpro
title: OIDC provider name
description: >-
Display name shown on the sign-in button. Example: "My Company SSO"
required: true
pattern: ^.{1,64}$
patternErrorMessage: "Enter a provider name (1-64 characters)"
if:
auth_provider:
enum:
- "OIDC"
- id: oidc_client_id
target:
type: environment
name: OIDC_CLIENT_ID
service: splitpro
title: OIDC Client ID
description: >-
Client ID from your OIDC provider's application registration.
required: true
pattern: ^.{1,256}$
patternErrorMessage: "Enter the OIDC Client ID"
if:
auth_provider:
enum:
- "OIDC"
- id: oidc_client_secret
target:
type: environment
name: OIDC_CLIENT_SECRET
service: splitpro
secret: true
title: OIDC Client Secret
description: >-
Client secret from your OIDC provider's application registration.
required: true
pattern: ^.{1,512}$
patternErrorMessage: "Enter the OIDC Client Secret"
if:
auth_provider:
enum:
- "OIDC"
- id: oidc_well_known_url
target:
type: environment
name: OIDC_WELL_KNOWN_URL
service: splitpro
title: OIDC Well-Known URL
description: >-
The OpenID Connect discovery endpoint for your provider.
Example: https://sso.example.com/.well-known/openid-configuration
required: true
pattern: ^https?://.+$
patternErrorMessage: "Enter a valid URL starting with http:// or https://"
if:
auth_provider:
enum:
- "OIDC"
# ── Keycloak fields ──────────────────────────────────────────────────────
- id: keycloak_id
target:
type: environment
name: KEYCLOAK_ID
service: splitpro
title: Keycloak Client ID
description: >-
Client ID from your Keycloak realm's client configuration.
To get credentials:
1. Open Keycloak Admin Console → your realm → Clients
2. Create a new client (type: OpenID Connect)
3. Set the redirect URI to: <your-splitpro-url>/api/auth/callback/keycloak
4. Copy the Client ID here.
required: true
pattern: ^.{1,256}$
patternErrorMessage: "Enter the Keycloak Client ID"
if:
auth_provider:
enum:
- "Keycloak"
- id: keycloak_secret
target:
type: environment
name: KEYCLOAK_SECRET
service: splitpro
secret: true
title: Keycloak Client Secret
description: >-
Client secret from Keycloak → Clients → your client → Credentials tab.
required: true
pattern: ^.{1,512}$
patternErrorMessage: "Enter the Keycloak Client Secret"
if:
auth_provider:
enum:
- "Keycloak"
- id: keycloak_issuer
target:
type: environment
name: KEYCLOAK_ISSUER
service: splitpro
title: Keycloak Issuer URL
description: >-
Your Keycloak realm URL. Format: https://keycloak.example.com/realms/your-realm
required: true
pattern: ^https?://.+$
patternErrorMessage: "Enter a valid URL starting with https://"
if:
auth_provider:
enum:
- "Keycloak"
# ── Authentik fields ─────────────────────────────────────────────────────
- id: authentik_id
target:
type: environment
name: AUTHENTIK_ID
service: splitpro
title: Authentik Client ID
description: >-
Client ID from your Authentik OAuth2/OpenID provider.
To get credentials:
1. Open Authentik Admin → Applications → Providers
2. Create an OAuth2/OpenID Provider
3. Set the redirect URI to: <your-splitpro-url>/api/auth/callback/authentik
4. Copy the Client ID here.
required: true
pattern: ^.{1,256}$
patternErrorMessage: "Enter the Authentik Client ID"
if:
auth_provider:
enum:
- "Authentik"
- id: authentik_secret
target:
type: environment
name: AUTHENTIK_SECRET
service: splitpro
secret: true
title: Authentik Client Secret
description: >-
Client secret from your Authentik provider configuration.
required: true
pattern: ^.{1,512}$
patternErrorMessage: "Enter the Authentik Client Secret"
if:
auth_provider:
enum:
- "Authentik"
- id: authentik_issuer
target:
type: environment
name: AUTHENTIK_ISSUER
service: splitpro
title: Authentik Issuer URL
description: >-
Your Authentik instance URL. Format: https://authentik.example.com/application/o/splitpro/
required: true
pattern: ^https?://.+$
patternErrorMessage: "Enter a valid URL starting with https://"
if:
auth_provider:
enum:
- "Authentik"
# ── Custom domain (optional) ─────────────────────────────────────────────
- id: nextauth_url
target:
type: environment
name: NEXTAUTH_URL
service: splitpro
title: App URL (optional — custom domain only)
description: >-
Leave blank to use the DynDNS URL automatically
(https://splitpro.<hash>.dyndns.dappnode.io).
Set this only if you are using a custom domain, e.g. https://splitpro.yourdomain.com.
Must include https:// and no trailing slash.
See the package README for instructions on setting up a custom domain with Cloudflare.
required: false
pattern: ^$|^https?://.+[^/]$
patternErrorMessage: "Enter a full URL (https://splitpro.yourdomain.com) or leave blank"