Skip to content

Commit 20a677f

Browse files
committed
ran through jq for formatting
1 parent 881d3da commit 20a677f

1 file changed

Lines changed: 155 additions & 155 deletions

File tree

kickstart/kickstart.json

Lines changed: 155 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,162 @@
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-
"newThemeId": "#{UUID()}",
7-
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
8-
"adminEmail": "admin@example.com",
9-
"adminPassword": "password",
10-
"userEmail": "richard@example.com",
11-
"userPassword": "password",
12-
"userUserId": "00000000-0000-0000-0000-111111111111"
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+
"newThemeId": "#{UUID()}",
7+
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
8+
"adminEmail": "admin@example.com",
9+
"adminPassword": "password",
10+
"userEmail": "richard@example.com",
11+
"userPassword": "password",
12+
"userUserId": "00000000-0000-0000-0000-111111111111"
13+
},
14+
"apiKeys": [
15+
{
16+
"key": "#{apiKey}",
17+
"description": "Unrestricted API key"
18+
}
19+
],
20+
"requests": [
21+
{
22+
"method": "PATCH",
23+
"url": "/api/tenant/#{defaultTenantId}",
24+
"body": {
25+
"tenant": {
26+
"issuer": "http://localhost:9011"
27+
}
28+
}
1329
},
14-
"apiKeys": [
15-
{
16-
"key": "#{apiKey}",
17-
"description": "Unrestricted API key"
30+
{
31+
"method": "POST",
32+
"url": "/api/key/generate/#{asymmetricKeyId}",
33+
"tenantId": "#{defaultTenantId}",
34+
"body": {
35+
"key": {
36+
"algorithm": "RS256",
37+
"name": "For exampleapp",
38+
"length": 2048
1839
}
19-
],
20-
"requests": [
21-
{
22-
"method": "PATCH",
23-
"url": "/api/tenant/#{defaultTenantId}",
24-
"body": {
25-
"tenant": {
26-
"issuer": "http://localhost:9011"
27-
}
28-
}
29-
},
30-
{
31-
"method": "POST",
32-
"url": "/api/key/generate/#{asymmetricKeyId}",
33-
"tenantId": "#{defaultTenantId}",
34-
"body": {
35-
"key": {
36-
"algorithm": "RS256",
37-
"name": "For exampleapp",
38-
"length": 2048
39-
}
40-
}
41-
},
42-
{
43-
"method": "POST",
44-
"url": "/api/user/registration",
45-
"body": {
46-
"user": {
47-
"email": "#{adminEmail}",
48-
"password": "#{adminPassword}"
49-
},
50-
"registration": {
51-
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
52-
"roles": [
53-
"admin"
54-
]
55-
}
56-
}
57-
},
58-
{
59-
"method": "POST",
60-
"url": "/api/application/#{applicationId}",
61-
"tenantId": "#{defaultTenantId}",
62-
"body": {
63-
"application": {
64-
"name": "Example app",
65-
"oauthConfiguration": {
66-
"authorizedRedirectURLs": [
67-
"http://localhost:8080/login/oauth2/code/fusionauth"
68-
],
69-
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
70-
"logoutURL": "http://localhost:8080/",
71-
"enabledGrants": [
72-
"authorization_code",
73-
"refresh_token"
74-
],
75-
"proofKeyForCodeExchangePolicy": "Required",
76-
"requireRegistration": true
77-
},
78-
"jwtConfiguration": {
79-
"enabled": true,
80-
"accessTokenKeyId": "#{asymmetricKeyId}",
81-
"idTokenKeyId": "#{asymmetricKeyId}"
82-
},
83-
"registrationConfiguration": {
84-
"birthDate": {
85-
"enabled": false,
86-
"required": false
87-
},
88-
"confirmPassword": false,
89-
"enabled": true,
90-
"firstName": {
91-
"enabled": false,
92-
"required": false
93-
},
94-
"fullName": {
95-
"enabled": true,
96-
"required": true
97-
},
98-
"lastName": {
99-
"enabled": false,
100-
"required": false
101-
},
102-
"loginIdType": "email",
103-
"middleName": {
104-
"enabled": false,
105-
"required": false
106-
},
107-
"mobilePhone": {
108-
"enabled": false,
109-
"required": false
110-
},
111-
"type": "basic"
112-
}
113-
}
114-
}
115-
},
116-
{
117-
"method": "POST",
118-
"url": "/api/user/registration/#{userUserId}",
119-
"body": {
120-
"user": {
121-
"birthDate": "1985-11-23",
122-
"email": "#{userEmail}",
123-
"firstName": "Richard",
124-
"lastName": "Hendricks",
125-
"fullName": "Richard Hendricks",
126-
"password": "#{userPassword}"
127-
},
128-
"registration": {
129-
"applicationId": "#{applicationId}"
130-
}
131-
}
132-
},
133-
{
134-
"method": "POST",
135-
"url": "/api/theme/#{newThemeId}",
136-
"body": {
137-
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
138-
"theme": {
139-
"name": "Thymeleaf theme"
140-
}
141-
}
40+
}
41+
},
42+
{
43+
"method": "POST",
44+
"url": "/api/user/registration",
45+
"body": {
46+
"user": {
47+
"email": "#{adminEmail}",
48+
"password": "#{adminPassword}"
14249
},
143-
{
144-
"method": "PATCH",
145-
"url": "/api/theme/#{newThemeId}",
146-
"body": {
147-
"theme": {
148-
"stylesheet": "@{css/styles.css}"
149-
}
150-
}
50+
"registration": {
51+
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
52+
"roles": [
53+
"admin"
54+
]
55+
}
56+
}
57+
},
58+
{
59+
"method": "POST",
60+
"url": "/api/application/#{applicationId}",
61+
"tenantId": "#{defaultTenantId}",
62+
"body": {
63+
"application": {
64+
"name": "Example app",
65+
"oauthConfiguration": {
66+
"authorizedRedirectURLs": [
67+
"http://localhost:8080/login/oauth2/code/fusionauth"
68+
],
69+
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
70+
"logoutURL": "http://localhost:8080/",
71+
"enabledGrants": [
72+
"authorization_code",
73+
"refresh_token"
74+
],
75+
"proofKeyForCodeExchangePolicy": "Required",
76+
"requireRegistration": true
77+
},
78+
"jwtConfiguration": {
79+
"enabled": true,
80+
"accessTokenKeyId": "#{asymmetricKeyId}",
81+
"idTokenKeyId": "#{asymmetricKeyId}"
82+
},
83+
"registrationConfiguration": {
84+
"birthDate": {
85+
"enabled": false,
86+
"required": false
87+
},
88+
"confirmPassword": false,
89+
"enabled": true,
90+
"firstName": {
91+
"enabled": false,
92+
"required": false
93+
},
94+
"fullName": {
95+
"enabled": true,
96+
"required": true
97+
},
98+
"lastName": {
99+
"enabled": false,
100+
"required": false
101+
},
102+
"loginIdType": "email",
103+
"middleName": {
104+
"enabled": false,
105+
"required": false
106+
},
107+
"mobilePhone": {
108+
"enabled": false,
109+
"required": false
110+
},
111+
"type": "basic"
112+
}
113+
}
114+
}
115+
},
116+
{
117+
"method": "POST",
118+
"url": "/api/user/registration/#{userUserId}",
119+
"body": {
120+
"user": {
121+
"birthDate": "1985-11-23",
122+
"email": "#{userEmail}",
123+
"firstName": "Richard",
124+
"lastName": "Hendricks",
125+
"fullName": "Richard Hendricks",
126+
"password": "#{userPassword}"
151127
},
152-
{
153-
"method": "PATCH",
154-
"url": "/api/tenant/#{defaultTenantId}",
155-
"body": {
156-
"tenant": {
157-
"themeId": "#{newThemeId}"
158-
}
159-
}
128+
"registration": {
129+
"applicationId": "#{applicationId}"
130+
}
131+
}
132+
},
133+
{
134+
"method": "POST",
135+
"url": "/api/theme/#{newThemeId}",
136+
"body": {
137+
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
138+
"theme": {
139+
"name": "Thymeleaf theme"
140+
}
141+
}
142+
},
143+
{
144+
"method": "PATCH",
145+
"url": "/api/theme/#{newThemeId}",
146+
"body": {
147+
"theme": {
148+
"stylesheet": "@{css/styles.css}"
149+
}
150+
}
151+
},
152+
{
153+
"method": "PATCH",
154+
"url": "/api/tenant/#{defaultTenantId}",
155+
"body": {
156+
"tenant": {
157+
"themeId": "#{newThemeId}"
160158
}
161-
]
159+
}
160+
}
161+
]
162162
}

0 commit comments

Comments
 (0)