Files

56 lines
1.3 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": [
"https://scommetti-app.duckdns.org/*",
"https://scommetti-app.moviolab.duckdns.org/*"
],
"webOrigins": [
"https://scommetti-app.duckdns.org",
"https://scommetti-app.moviolab.duckdns.org"
],
"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"]
}