Skip to content

Commit

Permalink
ran through jq for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreds committed Dec 11, 2023
1 parent 6b83ed7 commit e5c073f
Showing 1 changed file with 128 additions and 119 deletions.
247 changes: 128 additions & 119 deletions kickstart/kickstart.json
Original file line number Diff line number Diff line change
@@ -1,126 +1,135 @@
{
"variables": {
"apiKey": "33052c8a-c283-4e96-9d2a-eb1215c69f8f-not-for-prod",
"asymmetricKeyId": "#{UUID()}",
"applicationId": "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e",
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
"newThemeId": "#{UUID()}",
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
"adminEmail": "[email protected]",
"adminPassword": "password",
"adminUserId": "00000000-0000-0000-0000-000000000001",
"userEmail": "[email protected]",
"userPassword": "password",
"userUserId": "00000000-0000-0000-0000-111111111111"
"variables": {
"apiKey": "33052c8a-c283-4e96-9d2a-eb1215c69f8f-not-for-prod",
"asymmetricKeyId": "#{UUID()}",
"applicationId": "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e",
"clientSecret": "super-secret-secret-that-should-be-regenerated-for-production",
"newThemeId": "#{UUID()}",
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
"adminEmail": "[email protected]",
"adminPassword": "password",
"adminUserId": "00000000-0000-0000-0000-000000000001",
"userEmail": "[email protected]",
"userPassword": "password",
"userUserId": "00000000-0000-0000-0000-111111111111"
},
"apiKeys": [
{
"key": "#{apiKey}",
"description": "Unrestricted API key"
}
],
"requests": [
{
"method": "POST",
"url": "/api/key/generate/#{asymmetricKeyId}",
"tenantId": "#{defaultTenantId}",
"body": {
"key": {
"algorithm": "RS256",
"name": "For exampleapp",
"length": 2048
}
}
},
"apiKeys": [
{
"key": "#{apiKey}",
"description": "Unrestricted API key"
{
"method": "POST",
"url": "/api/application/#{applicationId}",
"tenantId": "#{defaultTenantId}",
"body": {
"application": {
"name": "ExampleNodeApp",
"oauthConfiguration": {
"authorizedRedirectURLs": [
"http://localhost:3000/api/auth/callback/fusionauth"
],
"logoutURL": "http://localhost:3000/api/auth/",
"clientSecret": "#{clientSecret}",
"enabledGrants": [
"authorization_code",
"refresh_token"
]
},
"jwtConfiguration": {
"enabled": true,
"accessTokenKeyId": "#{asymmetricKeyId}",
"idTokenKeyId": "#{asymmetricKeyId}"
}
}
],
"requests": [
{
"method": "POST",
"url": "/api/key/generate/#{asymmetricKeyId}",
"tenantId": "#{defaultTenantId}",
"body": {
"key": {
"algorithm": "RS256",
"name": "For exampleapp",
"length": 2048
}
}
},
{
"method": "POST",
"url": "/api/application/#{applicationId}",
"tenantId": "#{defaultTenantId}",
"body": {
"application": {
"name": "ExampleNodeApp",
"oauthConfiguration" : {
"authorizedRedirectURLs": ["http://localhost:3000/api/auth/callback/fusionauth"],
"logoutURL": "http://localhost:3000/api/auth/",
"clientSecret": "#{clientSecret}",
"enabledGrants": ["authorization_code", "refresh_token"]
},
"jwtConfiguration": {
"enabled": true,
"accessTokenKeyId": "#{asymmetricKeyId}",
"idTokenKeyId": "#{asymmetricKeyId}"
}
}
}
},
{
"method": "POST",
"url": "/api/user/registration/#{adminUserId}",
"body": {
"registration": {
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
"roles": [ "admin" ]
},
"roles": [ "admin" ],
"skipRegistrationVerification": true,
"user": {
"birthDate": "1981-06-04",
"data": {
"favoriteColor": "chartreuse"
},
"email": "#{adminEmail}",
"firstName": "Dinesh",
"lastName": "Chugtai",
"password": "#{adminPassword}"
}
}
},
{
"method": "POST",
"url": "/api/user/registration/#{userUserId}",
"body": {
"user": {
"birthDate": "1985-11-23",
"email": "#{userEmail}",
"firstName": "Fred",
"lastName": "Flintstone",
"password": "#{userPassword}"
},
"registration": {
"applicationId": "#{applicationId}",
"data": {
"favoriteColor": "turquoise"
}
}
}
},
{
"method": "POST",
"url": "/api/theme/#{newThemeId}",
"body": {
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
"theme": {
"name": "React theme"
}
}
}
},
{
"method": "POST",
"url": "/api/user/registration/#{adminUserId}",
"body": {
"registration": {
"applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
"roles": [
"admin"
]
},
{
"method": "PATCH",
"url": "/api/theme/#{newThemeId}",
"body": {
"theme": {
"stylesheet": "@{css/styles.css}"
}
}
"roles": [
"admin"
],
"skipRegistrationVerification": true,
"user": {
"birthDate": "1981-06-04",
"data": {
"favoriteColor": "chartreuse"
},
"email": "#{adminEmail}",
"firstName": "Dinesh",
"lastName": "Chugtai",
"password": "#{adminPassword}"
}
}
},
{
"method": "POST",
"url": "/api/user/registration/#{userUserId}",
"body": {
"user": {
"birthDate": "1985-11-23",
"email": "#{userEmail}",
"firstName": "Fred",
"lastName": "Flintstone",
"password": "#{userPassword}"
},
{
"method": "PATCH",
"url": "/api/tenant/#{defaultTenantId}",
"body": {
"tenant": {
"themeId": "#{newThemeId}"
}
}
"registration": {
"applicationId": "#{applicationId}",
"data": {
"favoriteColor": "turquoise"
}
}
}
},
{
"method": "POST",
"url": "/api/theme/#{newThemeId}",
"body": {
"sourceThemeId": "75a068fd-e94b-451a-9aeb-3ddb9a3b5987",
"theme": {
"name": "React theme"
}
}
},
{
"method": "PATCH",
"url": "/api/theme/#{newThemeId}",
"body": {
"theme": {
"stylesheet": "@{css/styles.css}"
}
}
},
{
"method": "PATCH",
"url": "/api/tenant/#{defaultTenantId}",
"body": {
"tenant": {
"themeId": "#{newThemeId}"
}
]
}
}
]
}

0 comments on commit e5c073f

Please sign in to comment.