72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"realm": "mock-google",
|
|
"displayName": "Controllable Google OIDC Test Provider",
|
|
"enabled": true,
|
|
"sslRequired": "external",
|
|
"registrationAllowed": false,
|
|
"resetPasswordAllowed": false,
|
|
"editUsernameAllowed": false,
|
|
"loginWithEmailAllowed": true,
|
|
"duplicateEmailsAllowed": false,
|
|
"bruteForceProtected": true,
|
|
"clients": [
|
|
{
|
|
"clientId": "mock-google-broker",
|
|
"name": "Main Realm Identity Broker",
|
|
"enabled": true,
|
|
"protocol": "openid-connect",
|
|
"publicClient": false,
|
|
"clientAuthenticatorType": "client-secret",
|
|
"secret": "${MOCK_GOOGLE_BROKER_CLIENT_SECRET}",
|
|
"standardFlowEnabled": true,
|
|
"implicitFlowEnabled": false,
|
|
"directAccessGrantsEnabled": false,
|
|
"serviceAccountsEnabled": false,
|
|
"redirectUris": [
|
|
"http://localhost:8080/realms/keycloak-patterns/broker/mock-google/endpoint"
|
|
],
|
|
"webOrigins": []
|
|
}
|
|
],
|
|
"users": [
|
|
{
|
|
"username": "mock-new-user",
|
|
"enabled": true,
|
|
"email": "broker-new-user@example.test",
|
|
"emailVerified": true,
|
|
"firstName": "Broker",
|
|
"lastName": "New",
|
|
"credentials": [
|
|
{
|
|
"type": "password",
|
|
"value": "${MOCK_GOOGLE_USER_PASSWORD}",
|
|
"temporary": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"username": "mock-collision-user",
|
|
"enabled": true,
|
|
"email": "regular-user@example.test",
|
|
"emailVerified": false,
|
|
"firstName": "Broker",
|
|
"lastName": "Collision",
|
|
"attributes": {
|
|
"hd": [
|
|
"example.test"
|
|
],
|
|
"picture": [
|
|
"https://images.example.test/mock-collision-user.png"
|
|
]
|
|
},
|
|
"credentials": [
|
|
{
|
|
"type": "password",
|
|
"value": "${MOCK_GOOGLE_USER_PASSWORD}",
|
|
"temporary": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|