|
| 1 | +{ |
| 2 | + "id" : "id1", |
| 3 | + "realm" : "your_realm_name", |
| 4 | + "enabled" : true, |
| 5 | + "groups" : [ ], |
| 6 | + "defaultRoles" : [ "uma_authorization", "offline_access" ], |
| 7 | + "requiredCredentials" : [ "password" ], |
| 8 | + "users" : [ { |
| 9 | + "id" : "c3f558f4-6294-42af-934b-71fe9f122ca5", |
| 10 | + "createdTimestamp" : 1593468883202, |
| 11 | + "username" : "your_username", |
| 12 | + "enabled" : true, |
| 13 | + "totp" : false, |
| 14 | + "emailVerified" : true, |
| 15 | + "firstName" : "your_first_name", |
| 16 | + "lastName" : "your_last_name", |
| 17 | + "email" : "sampleaccount1@sampling.com", |
| 18 | + "attributes" : { |
| 19 | + "instanceIds" : [ "c304a58e-9d8c-412d-b451-5afc906263dc" ], |
| 20 | + "role" : [ "user" ] |
| 21 | + }, |
| 22 | + "credentials" : [ { |
| 23 | + "id" : "0c82f429-068d-4f13-a0e3-608b4393c87f", |
| 24 | + "type" : "password", |
| 25 | + "createdDate" : 1593468895101, |
| 26 | + "secretData" : "{\"value\":\"C3EIxV4fsfvDIj6jM0N48qk+j2LAsPXDVJ3VFSLEHMS+1Ah1HIZDAvuqA8AQd/8j12CvboFw6Bv/00KeDyC+bA==\",\"salt\":\"F2M/n/GExVWSwHMvoTOKUA==\"}", |
| 27 | + "credentialData" : "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\"}" |
| 28 | + } ], |
| 29 | + "disableableCredentialTypes" : [ ], |
| 30 | + "requiredActions" : [ ], |
| 31 | + "realmRoles" : [ "uma_authorization", "offline_access" ], |
| 32 | + "clientRoles" : { |
| 33 | + "account" : [ "view-profile", "manage-account" ] |
| 34 | + }, |
| 35 | + "notBefore" : 0, |
| 36 | + "groups" : [ ] |
| 37 | + } ], |
| 38 | + "clients" : [ { |
| 39 | + "id" : "368a7d78-07cc-41c2-8510-b485629597ce", |
| 40 | + "clientId" : "your_client_name", |
| 41 | + "rootUrl" : "http://127.0.0.1:8383", |
| 42 | + "adminUrl" : "http://127.0.0.1:8383", |
| 43 | + "surrogateAuthRequired" : false, |
| 44 | + "enabled" : true, |
| 45 | + "alwaysDisplayInConsole" : false, |
| 46 | + "clientAuthenticatorType" : "client-secret", |
| 47 | + "secret" : "938dbad2-46ea-4d5a-89bb-bc8a542402d0", |
| 48 | + "redirectUris" : [ "http://127.0.0.1:8383/*" ], |
| 49 | + "webOrigins" : [ "http://127.0.0.1:8383" ], |
| 50 | + "notBefore" : 0, |
| 51 | + "bearerOnly" : false, |
| 52 | + "consentRequired" : false, |
| 53 | + "standardFlowEnabled" : true, |
| 54 | + "implicitFlowEnabled" : false, |
| 55 | + "directAccessGrantsEnabled" : true, |
| 56 | + "serviceAccountsEnabled" : false, |
| 57 | + "publicClient" : true, |
| 58 | + "frontchannelLogout" : false, |
| 59 | + "protocol" : "openid-connect", |
| 60 | + "attributes" : { }, |
| 61 | + "authenticationFlowBindingOverrides" : { }, |
| 62 | + "fullScopeAllowed" : true, |
| 63 | + "nodeReRegistrationTimeout" : -1, |
| 64 | + "protocolMappers" : [ { |
| 65 | + "id" : "6e0abb44-b801-49f9-9e64-48d59f226e18", |
| 66 | + "name" : "instanceids_mapper", |
| 67 | + "protocol" : "openid-connect", |
| 68 | + "protocolMapper" : "oidc-usermodel-attribute-mapper", |
| 69 | + "consentRequired" : false, |
| 70 | + "config" : { |
| 71 | + "multivalued" : "true", |
| 72 | + "userinfo.token.claim" : "true", |
| 73 | + "user.attribute" : "instanceIds", |
| 74 | + "id.token.claim" : "true", |
| 75 | + "access.token.claim" : "true", |
| 76 | + "claim.name" : "instanceIds" |
| 77 | + } |
| 78 | + }, { |
| 79 | + "id" : "3ffa942d-7e5b-4c1b-95f3-253c84103d4d", |
| 80 | + "name" : "role_mapper", |
| 81 | + "protocol" : "openid-connect", |
| 82 | + "protocolMapper" : "oidc-usermodel-attribute-mapper", |
| 83 | + "consentRequired" : false, |
| 84 | + "config" : { |
| 85 | + "user.attribute" : "role", |
| 86 | + "id.token.claim" : "true", |
| 87 | + "access.token.claim" : "true", |
| 88 | + "claim.name" : "role", |
| 89 | + "userinfo.token.claim" : "true" |
| 90 | + } |
| 91 | + } ], |
| 92 | + "defaultClientScopes" : [ "web-origins", "role_list", "profile", "roles", "email" ], |
| 93 | + "optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ] |
| 94 | + } ], |
| 95 | + "clientScopes" : [ { |
| 96 | + "id" : "95fbe161-21aa-48fa-b758-9bd375b0bb26", |
| 97 | + "name" : "email", |
| 98 | + "description" : "OpenID Connect built-in scope: email", |
| 99 | + "protocol" : "openid-connect", |
| 100 | + "attributes" : { |
| 101 | + "include.in.token.scope" : "true", |
| 102 | + "display.on.consent.screen" : "true", |
| 103 | + "consent.screen.text" : "${emailScopeConsentText}" |
| 104 | + }, |
| 105 | + "protocolMappers" : [ { |
| 106 | + "id" : "63956872-465e-4e66-a078-5a7bb80bb4db", |
| 107 | + "name" : "email verified", |
| 108 | + "protocol" : "openid-connect", |
| 109 | + "protocolMapper" : "oidc-usermodel-property-mapper", |
| 110 | + "consentRequired" : false, |
| 111 | + "config" : { |
| 112 | + "userinfo.token.claim" : "true", |
| 113 | + "user.attribute" : "emailVerified", |
| 114 | + "id.token.claim" : "true", |
| 115 | + "access.token.claim" : "true", |
| 116 | + "claim.name" : "email_verified", |
| 117 | + "jsonType.label" : "boolean" |
| 118 | + } |
| 119 | + }, { |
| 120 | + "id" : "15dbd4b1-8e80-4dea-b920-0304a8798dc4", |
| 121 | + "name" : "email", |
| 122 | + "protocol" : "openid-connect", |
| 123 | + "protocolMapper" : "oidc-usermodel-property-mapper", |
| 124 | + "consentRequired" : false, |
| 125 | + "config" : { |
| 126 | + "userinfo.token.claim" : "true", |
| 127 | + "user.attribute" : "email", |
| 128 | + "id.token.claim" : "true", |
| 129 | + "access.token.claim" : "true", |
| 130 | + "claim.name" : "email", |
| 131 | + "jsonType.label" : "String" |
| 132 | + } |
| 133 | + } ] |
| 134 | + }, { |
| 135 | + "id" : "3bfd2985-6d71-49a9-b2eb-b8006702d83a", |
| 136 | + "name" : "profile", |
| 137 | + "description" : "OpenID Connect built-in scope: profile", |
| 138 | + "protocol" : "openid-connect", |
| 139 | + "attributes" : { |
| 140 | + "include.in.token.scope" : "true", |
| 141 | + "display.on.consent.screen" : "true", |
| 142 | + "consent.screen.text" : "${profileScopeConsentText}" |
| 143 | + }, |
| 144 | + "protocolMappers" : [ { |
| 145 | + "id" : "fcfa7294-ef3a-4506-a985-d0161bbbf5ba", |
| 146 | + "name" : "username", |
| 147 | + "protocol" : "openid-connect", |
| 148 | + "protocolMapper" : "oidc-usermodel-property-mapper", |
| 149 | + "consentRequired" : false, |
| 150 | + "config" : { |
| 151 | + "userinfo.token.claim" : "true", |
| 152 | + "user.attribute" : "username", |
| 153 | + "id.token.claim" : "true", |
| 154 | + "access.token.claim" : "true", |
| 155 | + "claim.name" : "preferred_username", |
| 156 | + "jsonType.label" : "String" |
| 157 | + } |
| 158 | + }, { |
| 159 | + "id" : "aa388da9-d7e8-4550-9442-ad1683a8b1cd", |
| 160 | + "name" : "picture", |
| 161 | + "protocol" : "openid-connect", |
| 162 | + "protocolMapper" : "oidc-usermodel-attribute-mapper", |
| 163 | + "consentRequired" : false, |
| 164 | + "config" : { |
| 165 | + "userinfo.token.claim" : "true", |
| 166 | + "user.attribute" : "picture", |
| 167 | + "id.token.claim" : "true", |
| 168 | + "access.token.claim" : "true", |
| 169 | + "claim.name" : "picture", |
| 170 | + "jsonType.label" : "String" |
| 171 | + } |
| 172 | + }, { |
| 173 | + "id" : "05fd2f4b-7a19-43f1-b517-df720cd2411c", |
| 174 | + "name" : "profile", |
| 175 | + "protocol" : "openid-connect", |
| 176 | + "protocolMapper" : "oidc-usermodel-attribute-mapper", |
| 177 | + "consentRequired" : false, |
| 178 | + "config" : { |
| 179 | + "userinfo.token.claim" : "true", |
| 180 | + "user.attribute" : "profile", |
| 181 | + "id.token.claim" : "true", |
| 182 | + "access.token.claim" : "true", |
| 183 | + "claim.name" : "profile", |
| 184 | + "jsonType.label" : "String" |
| 185 | + } |
| 186 | + }, { |
| 187 | + "id" : "57e373b4-71da-4397-a64a-ed2f8d517b0d", |
| 188 | + "name" : "full name", |
| 189 | + "protocol" : "openid-connect", |
| 190 | + "protocolMapper" : "oidc-full-name-mapper", |
| 191 | + "consentRequired" : false, |
| 192 | + "config" : { |
| 193 | + "id.token.claim" : "true", |
| 194 | + "access.token.claim" : "true", |
| 195 | + "userinfo.token.claim" : "true" |
| 196 | + } |
| 197 | + }, { |
| 198 | + "id" : "2ff0b568-7eb3-4df0-a314-b5b4ba01b7d8", |
| 199 | + "name" : "updated at", |
| 200 | + "protocol" : "openid-connect", |
| 201 | + "protocolMapper" : "oidc-usermodel-attribute-mapper", |
| 202 | + "consentRequired" : false, |
| 203 | + "config" : { |
| 204 | + "userinfo.token.claim" : "true", |
| 205 | + "user.attribute" : "updatedAt", |
| 206 | + "id.token.claim" : "true", |
| 207 | + "access.token.claim" : "true", |
| 208 | + "claim.name" : "updated_at", |
| 209 | + "jsonType.label" : "String" |
| 210 | + } |
| 211 | + } ] |
| 212 | + }, { |
| 213 | + "id" : "ea283116-8683-490b-93c3-3ee5e5b02119", |
| 214 | + "name" : "role_list", |
| 215 | + "description" : "SAML role list", |
| 216 | + "protocol" : "saml", |
| 217 | + "attributes" : { |
| 218 | + "consent.screen.text" : "${samlRoleListScopeConsentText}", |
| 219 | + "display.on.consent.screen" : "true" |
| 220 | + }, |
| 221 | + "protocolMappers" : [ { |
| 222 | + "id" : "7ac1e70d-7282-4111-82aa-2736de9bf12f", |
| 223 | + "name" : "role list", |
| 224 | + "protocol" : "saml", |
| 225 | + "protocolMapper" : "saml-role-list-mapper", |
| 226 | + "consentRequired" : false, |
| 227 | + "config" : { |
| 228 | + "single" : "false", |
| 229 | + "attribute.nameformat" : "Basic", |
| 230 | + "attribute.name" : "Role" |
| 231 | + } |
| 232 | + } ] |
| 233 | + }, { |
| 234 | + "id" : "7f2a0f28-1027-4cd5-9915-22d19d8d8107", |
| 235 | + "name" : "roles", |
| 236 | + "description" : "OpenID Connect scope for add user roles to the access token", |
| 237 | + "protocol" : "openid-connect", |
| 238 | + "attributes" : { |
| 239 | + "include.in.token.scope" : "false", |
| 240 | + "display.on.consent.screen" : "true", |
| 241 | + "consent.screen.text" : "${rolesScopeConsentText}" |
| 242 | + }, |
| 243 | + "protocolMappers" : [ { |
| 244 | + "id" : "ae3e18bd-49b3-439a-9290-54552f7d08cd", |
| 245 | + "name" : "realm roles", |
| 246 | + "protocol" : "openid-connect", |
| 247 | + "protocolMapper" : "oidc-usermodel-realm-role-mapper", |
| 248 | + "consentRequired" : false, |
| 249 | + "config" : { |
| 250 | + "user.attribute" : "foo", |
| 251 | + "access.token.claim" : "true", |
| 252 | + "claim.name" : "realm_access.roles", |
| 253 | + "jsonType.label" : "String", |
| 254 | + "multivalued" : "true" |
| 255 | + } |
| 256 | + }, { |
| 257 | + "id" : "6c6a86ac-8f63-4ad7-8be0-ee61235a35c3", |
| 258 | + "name" : "audience resolve", |
| 259 | + "protocol" : "openid-connect", |
| 260 | + "protocolMapper" : "oidc-audience-resolve-mapper", |
| 261 | + "consentRequired" : false, |
| 262 | + "config" : { } |
| 263 | + }, { |
| 264 | + "id" : "0b07106f-fc89-4349-99fe-0f046af43fdc", |
| 265 | + "name" : "client roles", |
| 266 | + "protocol" : "openid-connect", |
| 267 | + "protocolMapper" : "oidc-usermodel-client-role-mapper", |
| 268 | + "consentRequired" : false, |
| 269 | + "config" : { |
| 270 | + "user.attribute" : "foo", |
| 271 | + "access.token.claim" : "true", |
| 272 | + "claim.name" : "resource_access.${client_id}.roles", |
| 273 | + "jsonType.label" : "String", |
| 274 | + "multivalued" : "true" |
| 275 | + } |
| 276 | + } ] |
| 277 | + } ], |
| 278 | + "defaultDefaultClientScopes" : [ "profile", "web-origins", "roles", "email", "role_list" ] |
| 279 | +} |
0 commit comments