-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MET-6341 Automatic import local test realm for docker keycloak on sta…
…rtup
- Loading branch information
Showing
2 changed files
with
104 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"realm": "europeana", | ||
"enabled": true, | ||
"clients": [ | ||
{ | ||
"clientId": "metis-core-local", | ||
"enabled": true, | ||
"publicClient": true, | ||
"standardFlowEnabled": false, | ||
"directAccessGrantsEnabled": false | ||
}, | ||
{ | ||
"clientId": "metis-ui-local", | ||
"enabled": true, | ||
"protocol": "openid-connect", | ||
"standardFlowEnabled": true, | ||
"redirectUris": ["*"], | ||
"webOrigins": ["+"], | ||
"publicClient": true | ||
} | ||
], | ||
"roles": { | ||
"client": { | ||
"metis-core-local": [ | ||
{ | ||
"name": "data-officer", | ||
"description": "Data Officer Role" | ||
}, | ||
{ | ||
"name": "admin", | ||
"description": "Administrator Role", | ||
"composite": true, | ||
"composites": { | ||
"client": { | ||
"metis-core-local": ["data-officer"] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"users": [ | ||
{ | ||
"username": "[email protected]", | ||
"enabled": true, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"firstName": "Admin", | ||
"lastName": "Metis", | ||
"credentials": [ | ||
{ | ||
"type": "password", | ||
"value": "admin", | ||
"temporary": false | ||
} | ||
], | ||
"clientRoles": { | ||
"metis-core-local": ["admin", "data-officer"] | ||
} | ||
}, | ||
{ | ||
"username": "[email protected]", | ||
"enabled": true, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"firstName": "User1", | ||
"lastName": "Metis", | ||
"credentials": [ | ||
{ | ||
"type": "password", | ||
"value": "user1", | ||
"temporary": false | ||
} | ||
], | ||
"clientRoles": { | ||
"metis-core-local": ["data-officer"] | ||
} | ||
}, | ||
{ | ||
"username": "[email protected]", | ||
"enabled": true, | ||
"email": "[email protected]", | ||
"emailVerified": true, | ||
"firstName": "User2", | ||
"lastName": "Metis", | ||
"credentials": [ | ||
{ | ||
"type": "password", | ||
"value": "user2", | ||
"temporary": false | ||
} | ||
], | ||
"clientRoles": { | ||
"metis-core-local": ["data-officer"] | ||
} | ||
} | ||
] | ||
} |