2015-01-29 02:04:02 +00:00
|
|
|
{
|
|
|
|
"id": "realm-with-broker",
|
|
|
|
"realm": "realm-with-broker",
|
|
|
|
"enabled": true,
|
|
|
|
"requiredCredentials": [ "password" ],
|
2015-02-07 00:23:34 +00:00
|
|
|
"resetPasswordAllowed": true,
|
2015-02-10 15:57:07 +00:00
|
|
|
"registrationAllowed": true,
|
2015-01-29 02:04:02 +00:00
|
|
|
"privateKey": "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCCPyvTTb14vSMkpe/pds2P5Cqxk7bkeFnQiNMS1vyZ+HS2O79fxzp1eAguHnBTs4XTRT7SZJhIT/6utgqZjmDigKV5N7X5ptq8BM/W1qa1cYBRip261pc+tWf3IywJYQ9yFI9mUQarmIEl0D7GH16NSZklheaWfbodRVarvX+ML0amNtGYVDft/RftYmgbKKrK218qQp9R4GZFtf/Q/RmboNXN7weMINU8GWVkTRrccKBIXSunT6zXGfuj3Wp1YpVq20BWwY2OMM/P+yDAc7LKEO1LJqPBdT4r9BRn2lXiaga3AL24gTKZPKU/tu7uqfFciF+i4Rr58SMDNOzQcnklAgMBAAECggEAc0eibJYEO5d8QXW1kPgcHV2gBChv2mxDYnWYDLbIQSdNdfYP/qABt/MTmm5KkWr16fcCEYoD1w0mqFBrtVn1msSusUmEAYGTXJMNumOmjjX1kzaTQMmqeFBrwqwYz/xehWR5P+A7fSmwNV3KEeW19GvN5w5K96w0TLAQdFV3TQVPSytusDunwuR1yltMe1voaEDZ9z0Pi08YiEk2f6xhj5CMkoiw3mNImzfruphHullxU4FD05fH6tDeJ381527ILpAzDsgYZh4aFLKjUHem96bX4EL7FIzBJ6okgN78AZnUC/EaVfgFTw0qfhoWvZV4ruVXXiMhCg4CMMRDq/k9iQKBgQDBNWsJMT84OnnWmQoJmZogkFV+tsGrSK6Re+aJxLWpishh7dwAnT2OcagZvVdUb0FwNWu1D0B9/SKDDMRnnHBhOGDpH57m/eQdRU0oX1BD27xvffk0lLcf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WKVattAVsGNjjDPz/sgwHOyyhDtSyajwXU+K/QUZ9pV4moGtwC9uIEymTylP7bu7qnxXIhfouEa+fEjAzTs0HJ5JQIDAQAB",
|
|
|
|
"identityProviders" : [
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-google",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "google",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
2015-02-12 20:13:00 +00:00
|
|
|
"storeToken": "true",
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
|
|
|
"clientId": "clientId",
|
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-facebook",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "facebook",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
|
|
|
"config": {
|
|
|
|
"authorizationUrl": "authorizationUrl",
|
|
|
|
"tokenUrl": "tokenUrl",
|
|
|
|
"userInfoUrl": "userInfoUrl",
|
|
|
|
"clientId": "clientId",
|
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-github",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "github",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
2015-02-12 20:13:00 +00:00
|
|
|
"storeToken": "false",
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
|
|
|
"authorizationUrl": "authorizationUrl",
|
|
|
|
"tokenUrl": "tokenUrl",
|
|
|
|
"userInfoUrl": "userInfoUrl",
|
|
|
|
"clientId": "clientId",
|
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-twitter",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "twitter",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
2015-02-12 20:13:00 +00:00
|
|
|
"storeToken": true,
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
|
|
|
"authorizationUrl": "authorizationUrl",
|
|
|
|
"tokenUrl": "tokenUrl",
|
|
|
|
"userInfoUrl": "userInfoUrl",
|
|
|
|
"clientId": "clientId",
|
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
2015-03-20 14:28:40 +00:00
|
|
|
{
|
|
|
|
"alias" : "model-linkedin",
|
|
|
|
"providerId" : "linkedin",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
|
|
|
"storeToken": false,
|
|
|
|
"config": {
|
|
|
|
"authorizationUrl": "authorizationUrl",
|
|
|
|
"tokenUrl": "tokenUrl",
|
|
|
|
"userInfoUrl": "userInfoUrl",
|
|
|
|
"clientId": "clientId",
|
2015-03-24 07:49:31 +00:00
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias" : "model-stackoverflow",
|
|
|
|
"providerId" : "stackoverflow",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
|
|
|
"storeToken": false,
|
|
|
|
"config": {
|
|
|
|
"key": "keyValue",
|
|
|
|
"authorizationUrl": "authorizationUrl",
|
|
|
|
"tokenUrl": "tokenUrl",
|
|
|
|
"userInfoUrl": "userInfoUrl",
|
|
|
|
"clientId": "clientId",
|
2015-03-20 14:28:40 +00:00
|
|
|
"clientSecret": "clientSecret"
|
|
|
|
}
|
|
|
|
},
|
2015-01-29 02:04:02 +00:00
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-saml-signed-idp",
|
2015-01-29 13:57:24 +00:00
|
|
|
"providerId" : "saml",
|
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "true",
|
|
|
|
"config": {
|
|
|
|
"singleSignOnServiceUrl": "http://localhost:8082/auth/realms/realm-with-saml-identity-provider/protocol/saml",
|
|
|
|
"nameIDPolicyFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
|
|
|
|
"signingCertificate": "MIIDdzCCAl+gAwIBAgIEbySuqTANBgkqhkiG9w0BAQsFADBsMRAwDgYDVQQGEwdVbmtub3duMRAwDgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdVbmtub3duMRAwDgYDVQQKEwdVbmtub3duMRAwDgYDVQQLEwdVbmtub3duMRAwDgYDVQQDEwdVbmtub3duMB4XDTE1MDEyODIyMTYyMFoXDTE3MTAyNDIyMTYyMFowbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bjEQMA4GA1UEBxMHVW5rbm93bjEQMA4GA1UEChMHVW5rbm93bjEQMA4GA1UECxMHVW5rbm93bjEQMA4GA1UEAxMHVW5rbm93bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAII/K9NNvXi9IySl7+l2zY/kKrGTtuR4WdCI0xLW/Jn4dLY7v1/HOnV4CC4ecFOzhdNFPtJkmEhP/q62CpmOYOKApXk3tfmm2rwEz9bWprVxgFGKnbrWlz61Z/cjLAlhD3IUj2ZRBquYgSXQPsYfXo1JmSWF5pZ9uh1FVqu9f4wvRqY20ZhUN+39F+1iaBsoqsrbXypCn1HgZkW1/9D9GZug1c3vB4wg1TwZZWRNGtxwoEhdK6dPrNcZ+6PdanVilWrbQFbBjY4wz8/7IMBzssoQ7Usmo8F1Piv0FGfaVeJqBrcAvbiBMpk8pT+27u6p8VyIX6LhGvnxIwM07NByeSUCAwEAAaMhMB8wHQYDVR0OBBYEFFlcNuTYwI9W0tQ224K1gFJlMam0MA0GCSqGSIb3DQEBCwUAA4IBAQB5snl1KWOJALtAjLqD0mLPg1iElmZP82Lq1htLBt3XagwzU9CaeVeCQ7lTp+DXWzPa9nCLhsC3QyrV3/+oqNli8C6NpeqI8FqN2yQW/QMWN1m5jWDbmrWwtQzRUn/rh5KEb5m3zPB+tOC6e/2bV3QeQebxeW7lVMD0tSCviUg1MQf1l2gzuXQo60411YwqrXwk6GMkDOhFDQKDlMchO3oRbQkGbcP8UeiKAXjMeHfzbiBr+cWz8NYZEtxUEDYDjTpKrYCSMJBXpmgVJCZ00BswbksxJwaGqGMPpUKmCV671pf3m8nq3xyiHMDGuGwtbU+GE8kVx85menmp8+964nin",
|
|
|
|
"wantAuthnRequestsSigned": true,
|
|
|
|
"forceAuthn": true,
|
|
|
|
"validateSignature": true,
|
|
|
|
"postBindingResponse": true,
|
|
|
|
"postBindingAuthnRequest": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "kc-saml-signed-idp",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "saml",
|
|
|
|
"enabled": true,
|
2015-04-23 19:26:07 +00:00
|
|
|
"updateProfileFirstLogin" : true,
|
|
|
|
"addReadTokenRoleOnCreate": true,
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
2015-01-29 13:57:24 +00:00
|
|
|
"singleSignOnServiceUrl": "http://localhost:8082/auth/realms/realm-with-saml-signed-idp/protocol/saml",
|
2015-04-23 15:26:44 +00:00
|
|
|
"singleLogoutServiceUrl": "http://localhost:8082/auth/realms/realm-with-saml-signed-idp/protocol/saml",
|
2015-01-29 02:04:02 +00:00
|
|
|
"nameIDPolicyFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
|
|
|
|
"signingCertificate": "MIIDdzCCAl+gAwIBAgIEbySuqTANBgkqhkiG9w0BAQsFADBsMRAwDgYDVQQGEwdVbmtub3duMRAwDgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdVbmtub3duMRAwDgYDVQQKEwdVbmtub3duMRAwDgYDVQQLEwdVbmtub3duMRAwDgYDVQQDEw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|
|
"postBindingResponse": true,
|
2015-04-28 22:52:30 +00:00
|
|
|
"postBindingAuthnRequest": true,
|
2015-05-04 12:10:35 +00:00
|
|
|
"backchannelSupported": false
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "kc-saml-idp-basic",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "saml",
|
|
|
|
"enabled": true,
|
2015-04-23 19:26:07 +00:00
|
|
|
"updateProfileFirstLogin" : true,
|
|
|
|
"addReadTokenRoleOnCreate": true,
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
2015-01-29 13:57:24 +00:00
|
|
|
"singleSignOnServiceUrl": "http://localhost:8082/auth/realms/realm-with-saml-idp-basic/protocol/saml",
|
2015-04-23 15:26:44 +00:00
|
|
|
"singleLogoutServiceUrl": "http://localhost:8082/auth/realms/realm-with-saml-idp-basic/protocol/saml",
|
2015-01-29 02:04:02 +00:00
|
|
|
"nameIDPolicyFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
|
|
|
|
"forceAuthn": true,
|
|
|
|
"postBindingResponse": true,
|
|
|
|
"postBindingAuthnRequest": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "model-oidc-idp",
|
2015-01-29 02:04:02 +00:00
|
|
|
"providerId" : "oidc",
|
|
|
|
"enabled": false,
|
|
|
|
"updateProfileFirstLogin" : "false",
|
2015-02-12 20:13:00 +00:00
|
|
|
"authenticateByDefault" : "false",
|
2015-01-29 02:04:02 +00:00
|
|
|
"config": {
|
|
|
|
"clientId": "clientId",
|
|
|
|
"clientSecret": "clientSecret",
|
|
|
|
"prompt": "prompt",
|
2015-01-29 13:57:24 +00:00
|
|
|
"authorizationUrl": "http://localhost:8082/auth/realms/realm-with-oidc-identity-provider/tokens/login",
|
2015-03-17 06:22:16 +00:00
|
|
|
"tokenUrl": "http://localhost:8081/auth/realms/realm-with-oidc-identity-provider/protocol/openid-connect/token",
|
2015-01-29 13:57:24 +00:00
|
|
|
"userInfoUrl": "http://localhost:8081/auth/realms/realm-with-oidc-identity-provider/protocol/openid-connect/userinfo",
|
|
|
|
"defaultScope": "email profile"
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
2015-01-29 13:57:24 +00:00
|
|
|
},
|
|
|
|
{
|
2015-03-19 01:58:04 +00:00
|
|
|
"alias" : "kc-oidc-idp",
|
2015-04-20 22:04:30 +00:00
|
|
|
"providerId" : "keycloak-oidc",
|
2015-01-29 18:05:00 +00:00
|
|
|
"enabled": true,
|
|
|
|
"updateProfileFirstLogin" : "false",
|
2015-04-23 19:26:07 +00:00
|
|
|
"storeToken" : true,
|
|
|
|
"addReadTokenRoleOnCreate": true,
|
2015-01-29 18:05:00 +00:00
|
|
|
"config": {
|
|
|
|
"clientId": "broker-app",
|
|
|
|
"clientSecret": "secret",
|
|
|
|
"prompt": "login",
|
|
|
|
"authorizationUrl": "http://localhost:8082/auth/realms/realm-with-oidc-identity-provider/tokens/login",
|
2015-03-17 06:22:16 +00:00
|
|
|
"tokenUrl": "http://localhost:8082/auth/realms/realm-with-oidc-identity-provider/protocol/openid-connect/token",
|
2015-01-29 18:05:00 +00:00
|
|
|
"userInfoUrl": "http://localhost:8082/auth/realms/realm-with-oidc-identity-provider/protocol/openid-connect/userinfo",
|
2015-04-23 15:26:44 +00:00
|
|
|
"logoutUrl": "http://localhost:8082/auth/realms/realm-with-oidc-identity-provider/tokens/logout",
|
2015-04-28 22:52:30 +00:00
|
|
|
"defaultScope": "email profile",
|
|
|
|
"backchannelSupported": "true"
|
2015-01-29 18:05:00 +00:00
|
|
|
}
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
|
|
|
],
|
2015-04-20 22:04:30 +00:00
|
|
|
"identityProviderMappers": [
|
|
|
|
{
|
|
|
|
"name": "manager-mapper",
|
|
|
|
"identityProviderAlias": "kc-oidc-idp",
|
|
|
|
"identityProviderMapper": "oidc-role-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"role": "manager",
|
|
|
|
"claim": "realm_access.roles",
|
|
|
|
"claim.value": "manager"
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mobile-mapper",
|
|
|
|
"identityProviderAlias": "kc-oidc-idp",
|
|
|
|
"identityProviderMapper": "oidc-user-attribute-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"user.attribute": "mobile",
|
|
|
|
"claim": "mobile"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "manager-mapper",
|
|
|
|
"identityProviderAlias": "kc-saml-idp-basic",
|
|
|
|
"identityProviderMapper": "saml-role-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"role": "manager",
|
|
|
|
"attribute.name": "Role",
|
|
|
|
"attribute.value": "manager"
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mobile-mapper",
|
|
|
|
"identityProviderAlias": "kc-saml-idp-basic",
|
|
|
|
"identityProviderMapper": "saml-user-attribute-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"user.attribute": "mobile",
|
|
|
|
"attribute.name": "mobile"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "manager-mapper",
|
|
|
|
"identityProviderAlias": "kc-saml-signed-idp",
|
|
|
|
"identityProviderMapper": "saml-role-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"role": "manager",
|
|
|
|
"attribute.name": "Role",
|
|
|
|
"attribute.value": "manager"
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mobile-mapper",
|
|
|
|
"identityProviderAlias": "kc-saml-signed-idp",
|
|
|
|
"identityProviderMapper": "saml-user-attribute-idp-mapper",
|
|
|
|
"config": {
|
|
|
|
"user.attribute": "mobile",
|
|
|
|
"attribute.name": "mobile"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2015-01-29 02:04:02 +00:00
|
|
|
"users": [
|
|
|
|
{
|
|
|
|
"username" : "pedroigor",
|
|
|
|
"enabled": true,
|
|
|
|
"email" : "psilva@redhat.com",
|
|
|
|
"credentials" : [
|
|
|
|
{ "type" : "password",
|
|
|
|
"value" : "password" }
|
|
|
|
],
|
2015-02-10 12:54:14 +00:00
|
|
|
"realmRoles": ["manager"],
|
|
|
|
"applicationRoles": {
|
|
|
|
"account": [ "manage-account" ]
|
|
|
|
}
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"applications": [
|
|
|
|
{
|
|
|
|
"name": "test-app",
|
|
|
|
"enabled": true,
|
|
|
|
"publicClient": true,
|
2015-04-23 15:26:44 +00:00
|
|
|
"adminUrl": "http://localhost:8081/test-app",
|
|
|
|
"baseUrl": "http://localhost:8081/test-app",
|
2015-01-29 02:04:02 +00:00
|
|
|
"redirectUris": [
|
|
|
|
"/test-app/*"
|
|
|
|
],
|
2015-02-25 21:48:01 +00:00
|
|
|
"webOrigins": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "test-app-with-allowed-providers",
|
|
|
|
"enabled": true,
|
|
|
|
"publicClient": true,
|
|
|
|
"adminUrl": "http://localhost:8081/auth",
|
|
|
|
"baseUrl": "http://localhost:8081/auth",
|
|
|
|
"redirectUris": [
|
|
|
|
"/test-app/*"
|
|
|
|
],
|
2015-04-23 19:26:07 +00:00
|
|
|
"webOrigins": []
|
2015-02-07 00:23:34 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"oauthClients" : [
|
|
|
|
{
|
|
|
|
"name" : "third-party",
|
|
|
|
"enabled": true,
|
|
|
|
"redirectUris": [
|
|
|
|
"http://localhost:8081/third-party/*"
|
|
|
|
],
|
|
|
|
"secret": "password"
|
2015-01-29 02:04:02 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"roles" : {
|
|
|
|
"realm" : [
|
|
|
|
{
|
|
|
|
"name": "manager",
|
|
|
|
"description": "Have Manager privileges"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2015-03-26 07:09:50 +00:00
|
|
|
}
|