| 1 |
{ |
| 2 |
"keycloakVersion": "23.0.6", |
| 3 |
"realm": "openvpn-auth-oauth2", |
| 4 |
"displayName": "openvpn-auth-oauth2 DEMO", |
| 5 |
"displayNameHtml": "openvpn-auth-oauth2 DEMO<br>USER: demo / PASSWORD: <span style=\"text-transform: lowercase;\">demo123</span></div>", |
| 6 |
"enabled": true, |
| 7 |
"sslRequired": "none", |
| 8 |
"registrationAllowed": false, |
| 9 |
"registrationEmailAsUsername": false, |
| 10 |
"rememberMe": true, |
| 11 |
"verifyEmail": false, |
| 12 |
"loginWithEmailAllowed": true, |
| 13 |
"duplicateEmailsAllowed": false, |
| 14 |
"resetPasswordAllowed": false, |
| 15 |
"editUsernameAllowed": false, |
| 16 |
"bruteForceProtected": false, |
| 17 |
"permanentLockout": false, |
| 18 |
"requiredCredentials": [ |
| 19 |
"password" |
| 20 |
], |
| 21 |
"attributes": { |
| 22 |
"frontendUrl": "http://localhost:8080" |
| 23 |
}, |
| 24 |
"clients": [ |
| 25 |
{ |
| 26 |
"enabled": true, |
| 27 |
"protocol": "openid-connect", |
| 28 |
"clientId": "openvpn-auth-oauth2", |
| 29 |
"name": "openvpn-auth-oauth2", |
| 30 |
"rootUrl": "http://localhost:9000", |
| 31 |
"adminUrl": "http://localhost:9000", |
| 32 |
"baseUrl": "http://localhost:9000", |
| 33 |
"surrogateAuthRequired": false, |
| 34 |
"alwaysDisplayInConsole": false, |
| 35 |
"clientAuthenticatorType": "client-secret", |
| 36 |
"secret": "zSkHo6iq8AEZ9W725JqomqkZGhfOG8jL", |
| 37 |
"redirectUris": [ |
| 38 |
"http://localhost:9000/oauth2/callback" |
| 39 |
], |
| 40 |
"notBefore": 0, |
| 41 |
"bearerOnly": false, |
| 42 |
"consentRequired": false, |
| 43 |
"standardFlowEnabled": true, |
| 44 |
"implicitFlowEnabled": false, |
| 45 |
"directAccessGrantsEnabled": false, |
| 46 |
"serviceAccountsEnabled": false, |
| 47 |
"publicClient": false, |
| 48 |
"frontchannelLogout": false, |
| 49 |
"attributes": { |
| 50 |
"client.secret.creation.time": "1708260958", |
| 51 |
"login_theme": "keycloak", |
| 52 |
"oauth2.device.authorization.grant.enabled": "false", |
| 53 |
"backchannel.logout.revoke.offline.tokens": "false", |
| 54 |
"use.refresh.tokens": "true", |
| 55 |
"oidc.ciba.grant.enabled": "false", |
| 56 |
"backchannel.logout.session.required": "false", |
| 57 |
"client_credentials.use_refresh_token": "false", |
| 58 |
"tls.client.certificate.bound.access.tokens": "false", |
| 59 |
"require.pushed.authorization.requests": "false", |
| 60 |
"acr.loa.map": "{}", |
| 61 |
"display.on.consent.screen": "false", |
| 62 |
"pkce.code.challenge.method": "S256", |
| 63 |
"token.response.type.bearer.lower-case": "false" |
| 64 |
}, |
| 65 |
"fullScopeAllowed": true |
| 66 |
} |
| 67 |
], |
| 68 |
"users": [ |
| 69 |
{ |
| 70 |
"username": "demo", |
| 71 |
"email": "[email protected]", |
| 72 |
"enabled": true, |
| 73 |
"totp": false, |
| 74 |
"emailVerified": true, |
| 75 |
"firstName": "DEMO", |
| 76 |
"lastName": "User", |
| 77 |
"realmRoles": [ |
| 78 |
"default-roles-openvpn-auth-oauth2" |
| 79 |
], |
| 80 |
"credentials": [ |
| 81 |
{ |
| 82 |
"type": "password", |
| 83 |
"value": "demo123" |
| 84 |
} |
| 85 |
] |
| 86 |
} |
| 87 |
] |
| 88 |
} |