54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"id": "scommettiapp",
|
|
"realm": "scommettiapp",
|
|
"enabled": true,
|
|
"loginTheme": "scommettiapp",
|
|
"registrationAllowed": true,
|
|
"loginWithEmailAllowed": true,
|
|
"duplicateEmailsAllowed": false,
|
|
"resetPasswordAllowed": true,
|
|
"editUsernameAllowed": false,
|
|
"clients": [
|
|
{
|
|
"clientId": "scommetti-frontend",
|
|
"enabled": true,
|
|
"publicClient": true,
|
|
"protocol": "openid-connect",
|
|
"standardFlowEnabled": true,
|
|
"implicitFlowEnabled": false,
|
|
"directAccessGrantsEnabled": false,
|
|
"redirectUris": [
|
|
"http://localhost:4200/*"
|
|
],
|
|
"webOrigins": [
|
|
"http://localhost:4200"
|
|
],
|
|
"attributes": {
|
|
"pkce.code.challenge.method": "S256"
|
|
}
|
|
},
|
|
{
|
|
"clientId": "scommetti-backend",
|
|
"enabled": true,
|
|
"publicClient": false,
|
|
"secret": "your-backend-client-secret-123",
|
|
"protocol": "openid-connect",
|
|
"standardFlowEnabled": false,
|
|
"serviceAccountsEnabled": true
|
|
}
|
|
],
|
|
"roles": {
|
|
"realm": [
|
|
{
|
|
"name": "user",
|
|
"description": "Base user role"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"description": "Administrator role"
|
|
}
|
|
]
|
|
},
|
|
"defaultRoles": ["user"]
|
|
}
|