44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"realm": "eidas",
|
|
"enabled": true,
|
|
"displayName": "Mock eIDAS",
|
|
"clients": [
|
|
{
|
|
"clientId": "big-portal",
|
|
"enabled": true,
|
|
"publicClient": true,
|
|
"standardFlowEnabled": true,
|
|
"directAccessGrantsEnabled": true,
|
|
"redirectUris": ["*"],
|
|
"webOrigins": ["*"],
|
|
"protocolMappers": [
|
|
{
|
|
"name": "eidas_id",
|
|
"protocol": "openid-connect",
|
|
"protocolMapper": "oidc-usermodel-attribute-mapper",
|
|
"config": {
|
|
"user.attribute": "eidas_id",
|
|
"claim.name": "eidas_id",
|
|
"jsonType.label": "String",
|
|
"id.token.claim": "true",
|
|
"access.token.claim": "true",
|
|
"userinfo.token.claim": "true"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"users": [
|
|
{
|
|
"username": "pierre-dupont",
|
|
"enabled": true,
|
|
"firstName": "Pierre",
|
|
"lastName": "Dupont",
|
|
"email": "pierre.dupont@example.fr",
|
|
"emailVerified": true,
|
|
"credentials": [{ "type": "password", "value": "test123", "temporary": false }],
|
|
"attributes": { "eidas_id": ["FR/NL/AB-1234-5678"] }
|
|
}
|
|
]
|
|
}
|