Registry testing - part 9
This commit is contained in:
113
tests/docker/keycloak/stalwart-realm.json
Normal file
113
tests/docker/keycloak/stalwart-realm.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"realm": "stalwart",
|
||||
"enabled": true,
|
||||
"registrationAllowed": false,
|
||||
"loginWithEmailAllowed": true,
|
||||
"duplicateEmailsAllowed": false,
|
||||
"sslRequired": "none",
|
||||
"clients": [
|
||||
{
|
||||
"clientId": "stalwart",
|
||||
"enabled": true,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret": "stalwart-secret",
|
||||
"redirectUris": ["*"],
|
||||
"webOrigins": ["*"],
|
||||
"publicClient": false,
|
||||
"protocol": "openid-connect",
|
||||
"directAccessGrantsEnabled": true,
|
||||
"standardFlowEnabled": true,
|
||||
"serviceAccountsEnabled": true,
|
||||
"defaultClientScopes": ["openid", "email", "profile", "roles"],
|
||||
"protocolMappers": [
|
||||
{
|
||||
"name": "groups",
|
||||
"protocol": "openid-connect",
|
||||
"protocolMapper": "oidc-group-membership-mapper",
|
||||
"consentRequired": false,
|
||||
"config": {
|
||||
"full.path": "false",
|
||||
"id.token.claim": "true",
|
||||
"access.token.claim": "true",
|
||||
"claim.name": "groups",
|
||||
"userinfo.token.claim": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "email-claim",
|
||||
"protocol": "openid-connect",
|
||||
"protocolMapper": "oidc-usermodel-attribute-mapper",
|
||||
"consentRequired": false,
|
||||
"config": {
|
||||
"user.attribute": "email",
|
||||
"id.token.claim": "true",
|
||||
"access.token.claim": "true",
|
||||
"claim.name": "email",
|
||||
"userinfo.token.claim": "true",
|
||||
"jsonType.label": "String"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"users": [
|
||||
{
|
||||
"username": "john.doe@example.org",
|
||||
"enabled": true,
|
||||
"email": "john.doe@example.org",
|
||||
"emailVerified": true,
|
||||
"firstName": "John",
|
||||
"lastName": "Doe",
|
||||
"credentials": [
|
||||
{
|
||||
"type": "password",
|
||||
"value": "this is an OIDC password",
|
||||
"temporary": false
|
||||
}
|
||||
],
|
||||
"groups": ["/sales@example.org"]
|
||||
},
|
||||
{
|
||||
"username": "jane.smith@example.org",
|
||||
"enabled": true,
|
||||
"email": "jane.smith@example.org",
|
||||
"emailVerified": true,
|
||||
"firstName": "Jane",
|
||||
"lastName": "Smith",
|
||||
"credentials": [
|
||||
{
|
||||
"type": "password",
|
||||
"value": "this is an OIDC password",
|
||||
"temporary": false
|
||||
}
|
||||
],
|
||||
"groups": ["/sales@example.org", "/corporate@example.org"]
|
||||
},
|
||||
{
|
||||
"username": "bill.foobar@example.org",
|
||||
"enabled": true,
|
||||
"email": "bill.foobar@example.org",
|
||||
"emailVerified": true,
|
||||
"firstName": "Bill",
|
||||
"lastName": "Foobar",
|
||||
"credentials": [
|
||||
{
|
||||
"type": "password",
|
||||
"value": "this is an OIDC password",
|
||||
"temporary": false
|
||||
}
|
||||
],
|
||||
"groups": ["/corporate@example.org"]
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"name": "sales@example.org",
|
||||
"path": "/sales@example.org"
|
||||
},
|
||||
{
|
||||
"name": "corporate@example.org",
|
||||
"path": "/corporate@example.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user