Modifiche

This commit is contained in:
Lorenzo Sanesi
2026-04-01 23:49:19 +02:00
parent 8752acd2c4
commit e2fe8b264f
52 changed files with 1351 additions and 400 deletions
+53
View File
@@ -0,0 +1,53 @@
{
"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"]
}