{ "realm": "cave", "enabled": true, "registrationAllowed": true, "registrationEmailAsUsername": false, "loginWithEmailAllowed": true, "verifyEmail": true, "resetPasswordAllowed": true, "loginTheme": "cave", "emailTheme": "cave", "smtpServer": { "host": "__SMTP_HOST__", "port": "__SMTP_PORT__", "from": "__SMTP_FROM__", "fromDisplayName": "__SMTP_FROM_DISPLAY__", "ssl": "__SMTP_SSL__", "starttls": "__SMTP_STARTTLS__", "auth": "__SMTP_AUTH__", "user": "__SMTP_USER__", "password": "__SMTP_PASSWORD__" }, "roles": { "realm": [ { "name": "cave-admin", "description": "Cave instance administrator" } ] }, "clients": [ { "clientId": "cave", "name": "Cave Code Forge", "enabled": true, "protocol": "openid-connect", "publicClient": false, "secret": "__CAVE_OIDC_CLIENT_SECRET__", "redirectUris": [ "http://localhost:8080/-/auth/callback", "http://localhost:8080/*", "http://localhost:9080/-/auth/callback", "http://localhost:9080/*", "__CAVE_BASE_URL__/-/auth/callback", "__CAVE_BASE_URL__/*" ], "webOrigins": [ "http://localhost:8080", "http://localhost:9080", "__CAVE_BASE_URL__" ], "standardFlowEnabled": true, "directAccessGrantsEnabled": false, "protocolMappers": [ { "name": "realm roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-realm-role-mapper", "config": { "claim.name": "realm_access.roles", "jsonType.label": "String", "multivalued": "true", "id.token.claim": "true", "access.token.claim": "true", "userinfo.token.claim": "true" } } ] } ], "users": [ { "username": "admin", "enabled": true, "emailVerified": true, "email": "admin@localhost", "firstName": "Cave", "lastName": "Admin", "credentials": [ { "type": "password", "value": "admin", "temporary": false } ], "realmRoles": [ "cave-admin", "default-roles-cave" ] } ] }