Skip to content

Commit

Permalink
Fixes from previous edits of keycloak json files (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jongalloway authored May 5, 2024
1 parent 0534b6a commit bca1578
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 369 deletions.
6 changes: 3 additions & 3 deletions labs/3-Add-Identity/end/Keycloak/data/import/eshop-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,9 @@
"clientId" : "webapp",
"name" : "eShop Web Frontend",
"description" : "The frontend web site of the eShop system.",
"rootUrl": "${WEBAPP_HTTP}",
"adminUrl": "${WEBAPP_HTTP}",
"baseUrl": "${WEBAPP_HTTP}",
"rootUrl": "${WEBAPP_HTTPS}",
"adminUrl": "${WEBAPP_HTTPS_CONTAINERHOST}",
"baseUrl": "${WEBAPP_HTTPS}",
"surrogateAuthRequired" : false,
"enabled" : true,
"alwaysDisplayInConsole" : false,
Expand Down
6 changes: 3 additions & 3 deletions labs/3-Add-Identity/src/Keycloak/data/import/eshop-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,9 @@
"clientId": "webapp",
"name": "eShop Web Frontend",
"description": "The frontend web site of the eShop system.",
"rootUrl": "${WEBAPP_HTTP}",
"adminUrl": "${WEBAPP_HTTP}",
"baseUrl": "${WEBAPP_HTTP}",
"rootUrl": "${WEBAPP_HTTPS}",
"adminUrl": "${WEBAPP_HTTPS_CONTAINERHOST}",
"baseUrl": "${WEBAPP_HTTPS}",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"${WEBAPP_CLIENT_SECRET}","${WEBAPP_CLIENT_SECRET}",{
{
"id" : "e3a46e00-f700-4eaa-b1d3-6aad1045be73",
"realm" : "eShop",
"displayName" : "",
Expand Down Expand Up @@ -255,7 +255,6 @@
"attributes" : { }
} ],
"security-admin-console" : [ ],
"orderingswaggerui" : [ ],
"admin-cli" : [ ],
"account-console" : [ ],
"broker" : [ {
Expand Down Expand Up @@ -562,42 +561,7 @@
"defaultClientScopes" : [ "web-origins", "acr", "profile", "roles", "email" ],
"optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
}, {
"id" : "6bbe9167-4ac5-49e3-a0ea-06fa6b9fe56c",
"clientId" : "orderingswaggerui",
"name" : "Ordering Swagger UI",
"description" : "",
"rootUrl" : "${ORDERINGAPI_HTTP}",
"adminUrl" : "${ORDERINGAPI_HTTP}",
"baseUrl" : "${ORDERINGAPI_HTTP}",
"surrogateAuthRequired" : false,
"enabled" : true,
"alwaysDisplayInConsole" : false,
"clientAuthenticatorType" : "client-secret",
"redirectUris" : [ "${ORDERINGAPI_HTTP}/*" ],
"webOrigins" : [ "${ORDERINGAPI_HTTP}" ],
"notBefore" : 0,
"bearerOnly" : false,
"consentRequired" : false,
"standardFlowEnabled" : true,
"implicitFlowEnabled" : true,
"directAccessGrantsEnabled" : true,
"serviceAccountsEnabled" : false,
"publicClient" : true,
"frontchannelLogout" : true,
"protocol" : "openid-connect",
"attributes" : {
"oidc.ciba.grant.enabled" : "false",
"post.logout.redirect.uris" : "+",
"oauth2.device.authorization.grant.enabled" : "false",
"backchannel.logout.session.required" : "true",
"backchannel.logout.revoke.offline.tokens" : "false"
},
"authenticationFlowBindingOverrides" : { },
"fullScopeAllowed" : true,
"nodeReRegistrationTimeout" : -1,
"defaultClientScopes" : [ "web-origins", "acr", "profile", "roles", "email" ],
"optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
}, {

"id" : "348d0c1d-6d87-4975-b5b1-d3f7ca245cd0",
"clientId" : "realm-management",
"name" : "${client_realm-management}",
Expand Down Expand Up @@ -684,7 +648,7 @@
"enabled" : true,
"alwaysDisplayInConsole" : false,
"clientAuthenticatorType" : "client-secret",
"secret" : "dAayhA7hWQFrNpKJvskRodHSDuf1burR",
"secret" : "${WEBAPP_CLIENT_SECRET}",
"redirectUris": [ "${WEBAPP_HTTP}/*", "${WEBAPP_HTTPS}/*" ],
"webOrigins": [ "${WEBAPP_HTTPS}", "${WEBAPP_HTTP}" ],
"notBefore" : 0,
Expand Down
Loading

0 comments on commit bca1578

Please sign in to comment.