Skip to content

Instantly share code, notes, and snippets.

@TadeasKriz
Last active August 29, 2015 14:04
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save TadeasKriz/635c45adb2ad5f885e88 to your computer and use it in GitHub Desktop.
{
"accountTheme": "aerogear",
"enabled": true,
"adminTheme": "aerogear",
"users": [{
"enabled": true,
"username": "admin",
"applicationRoles": {
"account": ["manage-account"],
"realm-management": ["realm-admin"]
},
"credentials": [{
"value": "123",
"type": "password"
}],
"realmRoles": ["admin"]
}],
"requiredCredentials": ["password"],
"registrationAllowed": false,
"loginTheme": "aerogear",
"oauthClients": [{
"enabled": true,
"claims": {"username": true},
"directGrantsOnly": true,
"publicClient": true,
"name": "integration-tests"
}],
"accessCodeLifespanUserAction": 3600,
"updateProfileOnInitialSocialLogin": false,
"scopeMappings": [
{
"client": "unified-push-server-js",
"roles": ["admin"]
},
{
"client": "integration-tests",
"roles": [
"user",
"admin"
]
}
],
"sslRequired": "external",
"realm": "aerogear",
"passwordCredentialGrantAllowed": true,
"social": false,
"roles": {"realm": [{
"description": "Administrator privileges",
"name": "admin"
}]},
"accessCodeLifespan": 3600,
"applications": [
{
"enabled": true,
"bearerOnly": true,
"name": "unified-push-server"
},
{
"baseUrl": "/ag-push",
"enabled": true,
"publicClient": true,
"name": "unified-push-server-js",
"redirectUris": ["/ag-push/*"]
}
],
"ssoSessionMaxLifespan": 36000,
"accessTokenLifespan": 3600,
"ssoSessionIdleTimeout": 3600
}
@smiklosovic
Copy link

ups.realm v auth-server.war vo WEB-INF alebo tak

@smiklosovic
Copy link

passwordCredentialGrantAllowed tam treba pridat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment