Skip to content

Commit 2019d19

Browse files
committed
ran through jq for formatting
1 parent 93bc223 commit 2019d19

1 file changed

Lines changed: 117 additions & 110 deletions

File tree

kickstart/kickstart.json

Lines changed: 117 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,124 @@
11
{
2-
"variables": {
3-
"applicationId": "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e",
4-
"apiKey": "this_really_should_be_a_long_random_alphanumeric_value_but_this_still_works",
5-
"asymmetricKeyId": "#{UUID()}",
6-
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
7-
"newThemeId": "#{UUID()}",
8-
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
9-
"adminEmail": "admin@example.com",
10-
"adminPassword": "password",
11-
"adminUserId": "00000000-0000-0000-0000-000000000001",
12-
"userEmail": "richard@example.com",
13-
"userPassword": "password",
14-
"userUserId": "00000000-0000-0000-0000-111111111111"
15-
},
16-
"apiKeys": [
17-
{
18-
"key": "#{apiKey}",
19-
"description": "Unrestricted API key"
2+
"variables": {
3+
"applicationId": "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e",
4+
"apiKey": "this_really_should_be_a_long_random_alphanumeric_value_but_this_still_works",
5+
"asymmetricKeyId": "#{UUID()}",
6+
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
7+
"newThemeId": "#{UUID()}",
8+
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
9+
"adminEmail": "admin@example.com",
10+
"adminPassword": "password",
11+
"adminUserId": "00000000-0000-0000-0000-000000000001",
12+
"userEmail": "richard@example.com",
13+
"userPassword": "password",
14+
"userUserId": "00000000-0000-0000-0000-111111111111"
15+
},
16+
"apiKeys": [
17+
{
18+
"key": "#{apiKey}",
19+
"description": "Unrestricted API key"
20+
}
21+
],
22+
"requests": [
23+
{
24+
"method": "POST",
25+
"url": "/api/key/generate/#{asymmetricKeyId}",
26+
"tenantId": "#{defaultTenantId}",
27+
"body": {
28+
"key": {
29+
"algorithm": "RS256",
30+
"name": "For Example Android App",
31+
"length": 2048
2032
}
21-
],
22-
"requests": [
23-
{
24-
"method": "POST",
25-
"url": "/api/key/generate/#{asymmetricKeyId}",
26-
"tenantId": "#{defaultTenantId}",
27-
"body": {
28-
"key": {
29-
"algorithm": "RS256",
30-
"name": "For Example Android App",
31-
"length": 2048
32-
}
33-
}
34-
},
35-
{
36-
"method": "POST",
37-
"url": "/api/user/registration/#{adminUserId}",
38-
"body": {
39-
"user": {
40-
"email": "#{adminEmail}",
41-
"password": "#{adminPassword}"
42-
},
43-
"registration": {
44-
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
45-
"roles": [ "admin" ]
46-
},
47-
"skipRegistrationVerification": true
48-
}
49-
},
50-
{
51-
"method": "POST",
52-
"url": "/api/application/#{applicationId}",
53-
"tenantId": "#{defaultTenantId}",
54-
"body": {
55-
"application": {
56-
"name": "Example Android App",
57-
"oauthConfiguration" : {
58-
"authorizedRedirectURLs": ["io.fusionauth.app:/oauth2redirect"],
59-
"clientAuthenticationPolicy": "NotRequiredWhenUsingPKCE",
60-
"proofKeyForCodeExchangePolicy": "Required",
61-
"clientSecret": "#{clientSecret}",
62-
"enabledGrants": ["authorization_code", "refresh_token"]
63-
},
64-
"jwtConfiguration": {
65-
"enabled": true,
66-
"accessTokenKeyId": "#{asymmetricKeyId}",
67-
"idTokenKeyId": "#{asymmetricKeyId}"
68-
}
69-
}
70-
}
71-
},
72-
{
73-
"method": "POST",
74-
"url": "/api/user/registration/#{userUserId}",
75-
"body": {
76-
"user": {
77-
"birthDate": "1985-11-23",
78-
"email": "#{userEmail}",
79-
"firstName": "Richard",
80-
"lastName": "Hendricks",
81-
"password": "#{userPassword}"
82-
},
83-
"registration": {
84-
"applicationId": "#{applicationId}"
85-
}
86-
}
33+
}
34+
},
35+
{
36+
"method": "POST",
37+
"url": "/api/user/registration/#{adminUserId}",
38+
"body": {
39+
"user": {
40+
"email": "#{adminEmail}",
41+
"password": "#{adminPassword}"
8742
},
88-
{
89-
"method": "POST",
90-
"url": "/api/theme/#{newThemeId}",
91-
"body": {
92-
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
93-
"theme": {
94-
"name": "ChangeBank theme"
95-
}
96-
}
43+
"registration": {
44+
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
45+
"roles": [
46+
"admin"
47+
]
9748
},
98-
{
99-
"method": "PATCH",
100-
"url": "/api/theme/#{newThemeId}",
101-
"body": {
102-
"theme": {
103-
"stylesheet": "@{css/styles.css}"
104-
}
105-
}
49+
"skipRegistrationVerification": true
50+
}
51+
},
52+
{
53+
"method": "POST",
54+
"url": "/api/application/#{applicationId}",
55+
"tenantId": "#{defaultTenantId}",
56+
"body": {
57+
"application": {
58+
"name": "Example Android App",
59+
"oauthConfiguration": {
60+
"authorizedRedirectURLs": [
61+
"io.fusionauth.app:/oauth2redirect"
62+
],
63+
"clientAuthenticationPolicy": "NotRequiredWhenUsingPKCE",
64+
"proofKeyForCodeExchangePolicy": "Required",
65+
"clientSecret": "#{clientSecret}",
66+
"enabledGrants": [
67+
"authorization_code",
68+
"refresh_token"
69+
]
70+
},
71+
"jwtConfiguration": {
72+
"enabled": true,
73+
"accessTokenKeyId": "#{asymmetricKeyId}",
74+
"idTokenKeyId": "#{asymmetricKeyId}"
75+
}
76+
}
77+
}
78+
},
79+
{
80+
"method": "POST",
81+
"url": "/api/user/registration/#{userUserId}",
82+
"body": {
83+
"user": {
84+
"birthDate": "1985-11-23",
85+
"email": "#{userEmail}",
86+
"firstName": "Richard",
87+
"lastName": "Hendricks",
88+
"password": "#{userPassword}"
10689
},
107-
{
108-
"method": "PATCH",
109-
"url": "/api/tenant/#{defaultTenantId}",
110-
"body": {
111-
"tenant": {
112-
"themeId": "#{newThemeId}"
113-
}
114-
}
90+
"registration": {
91+
"applicationId": "#{applicationId}"
92+
}
93+
}
94+
},
95+
{
96+
"method": "POST",
97+
"url": "/api/theme/#{newThemeId}",
98+
"body": {
99+
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
100+
"theme": {
101+
"name": "ChangeBank theme"
102+
}
103+
}
104+
},
105+
{
106+
"method": "PATCH",
107+
"url": "/api/theme/#{newThemeId}",
108+
"body": {
109+
"theme": {
110+
"stylesheet": "@{css/styles.css}"
111+
}
112+
}
113+
},
114+
{
115+
"method": "PATCH",
116+
"url": "/api/tenant/#{defaultTenantId}",
117+
"body": {
118+
"tenant": {
119+
"themeId": "#{newThemeId}"
115120
}
116-
]
121+
}
122+
}
123+
]
117124
}

0 commit comments

Comments
 (0)