Files
auth-activiti-app-ext/src/test/resources/keycloak-import/realm-my-app.json
2025-05-04 20:11:15 -04:00

241 lines
5.8 KiB
JSON

{
"realm": "my-app",
"displayName": "My Application",
"enabled": true,
"sslRequired": "none",
"scopeMappings": [
{
"clientScope": "offline_access",
"roles": [
"offline_access"
]
}
],
"clientScopeMappings": {
"account": [
{
"client": "account-console",
"roles": [
"manage-account",
"view-groups"
]
}
]
},
"roles": {
"realm": [
{
"name": "aps-admin",
"description": "APS Administrator",
"composite": false,
"clientRole": false
},
{
"name": "aps-modeler",
"description": "APS Modeler",
"composite": false,
"clientRole": false
},
{
"name": "aps-publisher",
"description": "APS Publisher",
"composite": false,
"clientRole": false
},
{
"name": "biz-employee",
"description": "Business Reviewer",
"composite": false,
"clientRole": false
},
{
"name": "biz-manager",
"description": "Business Reviewer",
"composite": false,
"clientRole": false
}
]
},
"clients": [
{
"clientId": "aps-app-public",
"name": "APS App",
"description": "Alfresco Process Services Activiti App",
"rootUrl": "http://localhost:8080/activiti-app",
"adminUrl": "http://localhost:8080/activiti-app",
"baseUrl": "",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
"redirectUris": [
"*"
],
"webOrigins": [
"*"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": true,
"serviceAccountsEnabled": false,
"publicClient": true,
"frontchannelLogout": true,
"protocol": "openid-connect",
"attributes": {
"realm_client": "false",
"oidc.ciba.grant.enabled": "false",
"backchannel.logout.session.required": "true",
"standard.token.exchange.enabled": "false",
"oauth2.device.authorization.grant.enabled": "false",
"backchannel.logout.revoke.offline.tokens": "false"
},
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"defaultClientScopes": [
"web-origins",
"acr",
"profile",
"roles",
"basic",
"email"
],
"optionalClientScopes": [
"address",
"phone",
"organization",
"offline_access",
"microprofile-jwt"
]
},
{
"clientId": "aps-app-confidential",
"name": "APS App",
"description": "Alfresco Process Services Activiti App",
"rootUrl": "http://localhost:8080/activiti-app",
"adminUrl": "http://localhost:8080/activiti-app",
"baseUrl": "",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
"secret": "a-secret",
"redirectUris": [
"*"
],
"webOrigins": [
"*"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": true,
"serviceAccountsEnabled": false,
"publicClient": false,
"frontchannelLogout": true,
"protocol": "openid-connect",
"attributes": {
"realm_client": "false",
"oidc.ciba.grant.enabled": "false",
"backchannel.logout.session.required": "true",
"standard.token.exchange.enabled": "false",
"oauth2.device.authorization.grant.enabled": "false",
"backchannel.logout.revoke.offline.tokens": "false"
},
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"defaultClientScopes": [
"web-origins",
"acr",
"profile",
"roles",
"basic",
"email"
],
"optionalClientScopes": [
"address",
"phone",
"organization",
"offline_access",
"microprofile-jwt"
]
}
],
"users": [
{
"username": "test",
"enabled": true,
"firstName": "Test",
"lastName": "User",
"email": "test@tester.com",
"credentials": [
{
"type": "password",
"temporary": false,
"value": "test"
}
]
},
{
"username": "test.admin",
"enabled": true,
"firstName": "Test",
"lastName": "Administrator",
"email": "test.admin@tester.com",
"credentials": [
{
"type": "password",
"temporary": false,
"value": "test"
}
],
"realmRoles": [
"aps-admin"
]
},
{
"username": "test.modeler",
"enabled": true,
"firstName": "Test",
"lastName": "Modeler",
"email": "test.modeler@tester.com",
"credentials": [
{
"type": "password",
"temporary": false,
"value": "test"
}
],
"realmRoles": [
"aps-modeler",
"aps-publisher"
]
},
{
"username": "test.manager",
"enabled": true,
"firstName": "Test",
"lastName": "Manager",
"email": "test.manager@tester.com",
"credentials": [
{
"type": "password",
"temporary": false,
"value": "test"
}
],
"realmRoles": [
"biz-manager"
]
}
],
"attributes": {
"frontendUrl": "http://host.docker.internal:8081"
}
}